R0106-HP MSR Router Series MPLS Command Reference(V7)

42
MSR4000:
display mpls ldp peer [ vpn-instance vpn-instance-name ] [ peer-lsr-id ] [ verbose ] [ standby slot
slot-number ]
Views
Any view
Predefined user roles
network-admin
network-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.
standby: Displays backup LDP process information. If you do not specify this keyword, this command
displays primary LDP process information.
slot slot-number: Specifies a card. The slot-number argument represents the number of the slot that holds
the card. (MSR4000.)
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 19 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.