R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide
22
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not specify any parameter, the command displays information about all public network LDP
sessions.
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 12 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 7.
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 : ---










