R3303-HP HSR6800 Routers MPLS Command Reference

21
Examples
# Display information about all public network LDP sessions.
<Sysname> display mpls ldp session
LDP Session(s) in Public Network
Total number of sessions: 1
------------------------------------------------------------------------------
Peer-ID Status SsnRole FT MD5 KA-Sent/Rcv
------------------------------------------------------------------------------
100.101.102.103:65535 Operational Passive Off Off 3/3
------------------------------------------------------------------------------
FT : Fault Tolerance
Table 11 Command output
Field Descri
p
tion
Peer-ID
LDP identifier of the peer. For a description of the LDP identifier, see the LDP
ID field in Table 6.
Status
Session status:
Non Existent—The TCP connection is not established yet.
Initialized—The TCP connection is established.
Open-Received—Received an acceptable initialization message.
Open-Sent—Sent an initialization message.
Operational—The LDP session is established.
SsnRole Role of the current LSR in the session, Active or Passive.
FT
Indicates whether the peer has enabled the GR function for the session. If
the L bit in the FT Session TLV is set to 1, it indicates that the GR function is
enabled for the session.
KA-Sent/Rcv Counts of Keepalive messages sent by/received on the local LSR.
# Display detailed information about all public network LDP sessions.
<Sysname> display mpls ldp session verbose
LDP Session(s) in Public Network
--------------------------------------------------------------------------
Peer LDP ID : 1.1.1.1:0 Local LDP ID : 3.3.3.3:0
TCP Connection : 3.3.3.3 -> 1.1.1.1
Session State : Operational Session Role : Active
Session FT Flag : Off MD5 Flag : Off
Reconnect Timer : --- Recovery Timer : ---
Negotiated Keepalive Timer : 45 Sec
Keepalive Message Sent/Rcvd : 6/6 (Message Count)
Label Advertisement Mode : Downstream Unsolicited
Label Resource Status(Peer/Local) : Available/Available
Peer Discovery Mechanism : Extended
Session existed time : 000:00:01 (DDD:HH:MM)
LDP Extended Discovery Source : Remote peer: 1
Addresses received from peer: (Count: 2)