R211x-HP Flexfabric 11900 MPLS Command Reference
36
mdc-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. The command displays LDP peer and session information for the specified VPN. If
you do not specify a VPN instance, the command displays the LDP peer and session information for the
public network.
peer peer-lsr-id: Specifies an LDP peer by its LSR ID. If you do not specify this option, the command
displays all LDP peers and related session information.
verbose: Displays detailed LDP peer and session information. If you do not specify this keyword, the
command displays brief LDP peer and session information.
Examples
# Display brief information about all LDP peers and LDP sessions for the public network.
<Sysname> display mpls ldp peer
Total number of peers: 1
Peer LDP ID State Role GR MD5 KA Sent/Rcvd
2.2.2.9:0 Operational Passive Off Off 39/39
Table 18 Command output
Field Descri
p
tion
Peer LDP ID LDP identifier of the peer.
State
State of the LDP session between the local LSR and the peer:
• Non Existent—No TCP connection is established.
• Initialized—A TCP connection has been established.
• OpenRecv—LDP has received an acceptable initialization message.
• OpenSent—LDP has sent an initialization message.
• Operational—An LDP session has been established.
Role
Role of the local LSR in the session, Active or Passive.
In a session, the LSR with a higher IP address takes the Active role. The Active LSR
initiates a TCP connection to the passive LSR.
GR
Whether GR is enabled on the peer.
• On—Enabled.
• Off—Disabled.
MD5
Whether MD5 authentication is enabled for the LDP session on the local device.
• On—Enabled.
• Off—Disabled.
KA Sent/Rcvd Number of keepalive messages sent/received.
# Display detailed information about all LDP peers and LDP sessions for the public network.
<Sysname> display mpls ldp peer verbose
Peer LDP ID : 100.100.100.20:0
Local LDP ID : 100.100.100.17:0
TCP Connection : 100.100.100.20:47515 -> 100.100.100.17:646
Session State : Operational Session Role : Passive
Session Up Time : 0000:00:03 (DD:HH:MM)










