display mpls ldp session (verbose)

Function

The display mpls ldp session command displays information about LDP sessions between LDP peers.

Format

display mpls ldp session { peer-id | verbose }

display mpls ldp session vpn-instance vpn-instance-name { peer-id | verbose }

display mpls ldp session all verbose

Parameters

Parameter Description Value
peer-id

Displays information about an LDP session with a specified peer LSR ID. The peer LSR ID is configured using the mpls lsr-id command.

The value is in dotted decimal notation.

verbose

Displays detailed information about an LDP session.

-

vpn-instance vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters.

all

Displays information about all LDP sessions.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-ldp read

Usage Guidelines

Usage Scenario

After an LDP session is created, the display mpls ldp session command can be run to display LDP session information. The information includes LDP session status and the number of sent or received Keepalive messages.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display detailed information about all LDP sessions. In the following example, an outbound LDP policy is configured.
<HUAWEI> display mpls ldp session verbose
LDP Session(s) in Public Network
 ------------------------------------------------------------------------
 Peer LDP ID     : 10.10.2.2:0            Local LDP ID   : 10.10.1.1:0
 TCP Connection  : 10.10.1.1 <- 10.10.2.2
 Session State   : Operational          Session Role   : Passive
 Session FT Flag : On                   MD5 Flag       : Off
 Reconnect Timer : 400 Sec              Recovery Timer : 400 Sec 
 Keychain Name   : kc1
 Tcpao Name      : ---
 Authentication applied : Peer-group list1

 Negotiated Keepalive Hold Timer   : 45 Sec
 Configured Keepalive Send Timer   : 30 Sec
 Keepalive Message Sent/Rcvd       : 16848/16848 (Message Count)
 Label Advertisement Mode          : Downstream Unsolicited
 Label Resource Status(Peer/Local) : Available/Available
 Session Age                       : 0002:22:11  (DDDD:HH:MM)
 Message Count In Last Period      : 10
 Overrun Period Count              : 10

 Capability:
   Capability-Announcement         : Off
   mLDP P2MP Capability            : Off    mLDP MBB Capability             : Off    mLDP MP2MP Capability           : Off
 Outbound&Inbound Policies applied:NULL
 Ipv4:
 outbound peer 10.10.2.2 fec none 
 
 Addresses received from peer: ( Count: 2 )
 10.10.2.2           10.1.2.2          
 ------------------------------------------------------------------------
Table 1 Description of the display mpls ldp session (verbose) command output
Item Description
Peer LDP ID

Local LSR ID.

Local LDP ID

Local LSR ID.

TCP Connection

Information about a TCP connection for an LDP session.

Session Role

Role that an LSR plays in an LDP session:

  • Active: The LSR with a larger transport address is the active party that establishes an LDP session.
  • Passive: The LSR with a smaller transport address is the passive end of an LDP session.
Session Age

Times elapsed since an LDP session was established, in the format of DDDD:HH:MM.

Session State

LDP session states:

  • NonExistent: indicates the initial status of an LDP session. In this state, the two ends send Hello messages to each other. After the TCP connection establishment success event is triggered, the session enters the Initialized state.
  • Initialized: The LDP session is being initialized.
  • Open Sent: OpenSent: The active LSR sends an Initialization message to the passive LSR and waits for a reply.
  • Open Recv: LDP peers at both ends of the LDP session wait for a KeepAlive message from each other after the session enters the initialization state. If they receive each other's KeepAlive message, the LDP session enters the Operational state.
  • Operational: The LDP session is established successfully.
Session FT Flag

Whether LDP GR is enabled:

  • On: indicates that LDP GR is enabled.
  • Off: indicates that LDP GR is disabled.
MD5 Flag

Whether LDP MD5 authentication is enabled:

  • On: MD5 authentication is used for TCP connection establishment.
  • Off: MD5 authentication is not used for TCP connection establishment.

To ensure high security, you are not advised to use MD5 authentication.

Reconnect Timer

Reconnect timer value.

Recovery Timer

Recovery timer value.

Keychain Name

Referenced keychain authentication name.

Tcpao Name

Name of the TCP-AO referenced by LDP TCP-AO authentication.

Authentication applied

LDP session authentication mode:

  • Peer: LDP session authentication takes effect for a specified peer.
  • Peer-group <ip-prefix-name>: LDP session authentication takes effect for a specified peer group. ip-prefix-name specifies the name of the prefix list that is used to limit the range of IP addresses of the peers in the peer group.
  • All: LDP session authentication takes effect for all peers.
Negotiated Keepalive Hold Timer

Configured value of the Keepalive hold timer.

Keepalive Message Sent/Rcvd

Number of Keepalive messages sent or received by an LDP session.

Configured Keepalive Send Timer

Configured value of the Keepalive send timer.

Message Count In Last Period

Number of messages in the last suppression period.

Label Advertisement Mode

Label advertisement mode:

  • Downstream Unsolicited.
  • Downstream On Demand.
Label Resource Status(Peer/Local)

Label resource status of the remote and local peers.

Overrun Period Count

Number of packet suppression periods.

Capability-Announcement

Whether LDP dynamic advertisement is enabled:

  • On: The function is enabled.
  • Off: The function is disabled.
mLDP P2MP Capability

Whether P2MP LDP is enabled:

  • On: The function is enabled.
  • Off: The function is disabled.
mLDP MBB Capability

Whether mLDP make-before-break is enabled:

  • On: The function is enabled.
  • Off: The function is disabled.
mLDP MP2MP Capability

Whether MP2MP LDP is enabled:

  • On: The function is enabled.
  • Off: The function is disabled.
Capability

Capability negotiation of the LDP session.

Addresses received from peer

Address table sent by a peer in an LDP session.

Outbound&Inbound Policies applied

Used outbound policy: If no outbound policy is configured, Null is displayed. Otherwise, the output is as follows:

  • Split horizon: for example, outbound peer 10.163.163.2 split-horizon.
  • FEC filtering for specific IGP routes: for example, outbound peer 10.163.163.2 fec ip-prefix ipv4prefix.
  • Outbound policy for specified labeled BGP routes: for example, outbound peer all bgp-label-route ip-prefix aa.
  • Inbound policy for specified IGP routes: for example, inbound peer all fec host.
Status

LDP session states:

  • NonExistent: indicates the initial status of an LDP session. In this state, the two ends send Hello messages to each other. After the TCP connection establishment success event is triggered, the session enters the Initialized state.
  • Initialized: The LDP session is being initialized.
  • Open Sent: OpenSent: The active LSR sends an Initialization message to the passive LSR and waits for a reply.
  • Open Recv: LDP peers at both ends of the LDP session wait for a KeepAlive message from each other after the session enters the initialization state. If they receive each other's KeepAlive message, the LDP session enters the Operational state.
  • Operational: The LDP session is established successfully.

If the Initialized state remains, the LDP session is down.

Ipv4

Peer in the IPv4 address family.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >