display mpls ldp peer

Function

The display mpls ldp peer command displays information about LDP peers.

Format

display mpls ldp peer [ all ]

display mpls ldp peer { verbose | peer-id }

display mpls ldp peer vpn-instance vpn-instance-name [ verbose | peer-id ]

display mpls ldp peer all verbose

Parameters

Parameter Description Value
all

Displays information about all LDP peers.

-

verbose

Displays detailed information about LDP peers.

-

peer-id

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

The value is in dotted decimal notation.

vpn-instance vpn-instance-name

Displays events that LDP adjacencies in a specified VPN instance go Down.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces. The VPN instance name cannot be <b>_public_</b>. However, the character string can contain spaces if it is enclosed with double quotation marks (").

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-ldp read

Usage Guidelines

Usage Scenario

If an LDP LSP fails to be established between local and remote interfaces, run the display mpls ldp peer command to check the interface status from the DiscoverySource field.

You can also run the display mpls ldp peer command to view information about packets sent by the peer.

The system supports coexistent local and remote LDP peers. The display mpls ldp peer command also displays information about local and remote LDP peers.

You can specify a parameter to view information about a specified LDP peer.

Prerequisites

MPLS and MPLS LDP have been enabled globally using the mpls ldp command in the system view.

Example

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

# Display detailed information about LDP peers.
<HUAWEI> display mpls ldp peer verbose
LDP Peer Information in Public network
 -------------------------------------------------------------------------------
 Peer LDP ID            : 1.1.1.9:0
 Peer Max PDU Length    : 4096         Peer Transport Address : 1.1.1.9
 Peer Loop Detection    : Off          Peer Path Vector Limit : --
 Peer FT Flag           : Off          Peer Keepalive Timer   : 45 Sec
 Recovery Timer         : --           Reconnect Timer        : --
 Peer Type              : Local
 Peer Label Advertisement Mode : Downstream Unsolicited
 Distributed   ID       : 0
 Peer Discovery Source  : GigabitEthernet0/1/0
 Capability-Announcement       : On 
 Peer mLDP P2MP Capability     : Off
Peer mLDP MP2MP Capability    : Off    
Peer mLDP MBB Capability      : Off
 -------------------------------------------------------------------------------
# Display information about LDP peers.
<HUAWEI> display mpls ldp peer
LDP Peer Information in Public network
 An asterisk (*) before a peer means the peer is being deleted.
 -------------------------------------------------------------------------------
 PeerID                 TransportAddress               DiscoverySource
 -------------------------------------------------------------------------------
 2.2.2.9:0              2.2.2.9                        GigabitEthernet0/1/0
 3.3.3.9:0              3.3.3.9                        Remote Peer : RTC
 -------------------------------------------------------------------------------
 TOTAL: 2 Peer(s) Found.
Table 1 Description of the display mpls ldp peer command output
Item Description
Peer LDP ID

Value of an LDP identifier in the form of LSR ID:Label space. The label space value can be:

  • 0: per-platform label space.
  • Non-0: per-interface label space.
Peer Max PDU Length

Maximum size of a PDU sent by an LDP peer.

Peer Transport Address

Transport address of an LDP peer for initiating a TCP connection for an LDP session.

Peer Loop Detection

Whether loop detection negotiation of an LDP peer is enabled:

  • On: Loop detection negotiation is enabled.
  • Off: Loop detection negotiation is disabled.
Peer Path Vector Limit

Upper limit of the Path Vector for an LDP peer.

A hyphen (-) is displayed if the value of the Peer Loop Detection field is Off.

Peer FT Flag

GR FT flag of an LDP peer, which can be set only after an Initialization message containing an FT TLV is received:

  • On: LDP GR is enabled.
  • Off: LDP GR is disabled.
Peer Keepalive Timer

Configured value of the Keepalive timer for an LDP peer.

Peer Type

Type of an LDP peer:

  • Local.
  • Remote.
  • Local&Remote.
Peer Label Advertisement Mode

Label advertisement mode of an LDP peer:

  • Downstream Unsolicited.
  • Downstream On Demand.
Peer Discovery Source

Discovery source of an LDP peer:

  • Interface name: the source that discovers the local LDP peer.
  • Remote LDP peer name: the source that discovers the remote LDP peer.
Peer mLDP P2MP Capability

Whether the LDP peer supports mLDP P2MP:

  • On: The LDP peer supports mLDP P2MP.
  • Off: The LDP peer does not support mLDP P2MP.
Peer mLDP MBB Capability

Whether the LDP peer supports mLDP make-before-break:

  • On: The LDP peer supports mLDP make-before-break.
  • Off: The LDP peer does not support mLDP make-before-break.
Peer mLDP MP2MP Capability

Whether the LDP peer supports mLDP MP2MP:

  • On: The LDP peer supports mLDP MP2MP.
  • Off: The LDP peer does not support mLDP MP2MP.
Recovery Timer

Timeout period of the Recovery timer for an LDP peer.

A hyphen (-) is displayed if the value of the Peer FT Flag field is Off.

Reconnect Timer

Timeout period of the Reconnect timer for an LDP peer.

A hyphen (-) is displayed if the value of the Peer FT Flag field is Off.

Distributed ID

ID of an LDP distributed instance.

Capability-Announcement

Status of the LDP dynamic advertisement function:

  • On: LDP dynamic advertisement is enabled.
  • Off: LDP dynamic advertisement is disabled.
PeerID

Value of an LDP identifier in the form of LSR ID:Label space. The label space value can be:

  • 0: per-platform label space.
  • Non-0: per-interface label space.
TransportAddress

Transport address of an LDP peer for initiating a TCP connection for an LDP session.

DiscoverySource

Discovery source of an LDP peer:

  • Interface name: the source that discovers the local LDP peer.
  • Remote LDP peer name: the source that discovers the remote LDP peer.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >