< Home

display mpls ldp peer

Function

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

Format

display mpls ldp peer [ verbose | peer-id ]

display mpls ldp peer [ all ] [ verbose ]

Parameters

Parameter Description Value

verbose

Displays detailed information about LDP peers.

-

peer-id

Displays information about a specified LDP peer.

-

all

Displays information about all LDP peers.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

If an LDP label switched path (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.

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

Example

# Display information about LDP peers.

<sysname> display mpls ldp peer
 LDP Peer Information in Public network
 A '*' before a peer means the peer is being deleted.
 ------------------------------------------------------------------------------
 PeerID                TransportAddress   DiscoverySource
 ------------------------------------------------------------------------------
 2.2.2.2:0             2.2.2.2            Remote Peer : rtb
                                          GigabitEthernet0/0/0
 3.3.3.3:0             3.3.3.3            Remote Peer : rtc
 ------------------------------------------------------------------------------
 TOTAL: 2 Peer(s) Found.
Table 1 Description of the display mpls ldp peer command output

Item

Description

PeerID

LDP identifier in the form of <LSR ID>:<label space>. The value of a label space can be:

  • 0: per-platform label space

  • Any value other than 0: per-interface label space

TransportAddress

Transport address of the LDP peer, which is used to establish a TCP connection.

A transport address can be configured using the mpls ldp transport-address command.

DiscoverySource

Discovery source of an LDP peer:
  • If an interface is displayed, the source of the local LDP peer is the local interface.

  • If the configuration name of the remote peer is displayed, the source of the remote LDP peer is the remote peer.

  • If both the interface name and the configured remote peer are configured, the discovered peer is a coexistent local and remote LDP peer.

# Display detailed information about LDP peers.

<sysname> display mpls ldp peer verbose
 LDP Peer Information in Public network
 ------------------------------------------------------------------------------
 Peer LDP ID         : 2.2.2.2:0
 Peer Max PDU Length : 4096         Peer Transport Address   : 2.2.2.2
 Peer Loop Detection : Off          Peer Path Vector Limit   : ----
 Peer FT Flag        : Off          Peer Keepalive Timer     : 45 Sec
 Recovery Timer      : ----         Reconnect Timer          : ----
 Peer Type           : Local&Remote

 Peer Label Advertisement Mode : Downstream Unsolicited
 Peer Discovery Source         : remote peer: rtb
                                 GigabitEthernet0/0/0
 Peer Deletion Status          : No
 Capability-Announcement       : On
 Peer mLDP P2MP Capability     : On
 Peer mLDP MP2MP Capability    : Off
 Peer mLDP MBB Capability      : On
------------------------------------------------------------------------------
 Peer LDP ID         : 3.3.3.3:0
 Peer Max PDU Length : 4096         Peer Transport Address   : 3.3.3.3
 Peer Loop Detection : Off          Peer Path Vector Limit   : ----
 Peer FT Flag        : Off          Peer Keepalive Timer     : 45 Sec
 Recovery Timer      : ----         Reconnect Timer          : ----
 Peer Type           : Remote

 Peer Label Advertisement Mode : Downstream Unsolicited
 Peer Discovery Source         : remote peer: rtc
 Peer Deletion Status          : No
 Capability-Announcement       : On
 Peer mLDP P2MP Capability     : On
 Peer mLDP MP2MP Capability    : Off
 Peer mLDP MBB Capability      : On
------------------------------------------------------------------------------
Table 2 Description of the display mpls ldp peer verbose command output

Item

Description

Peer LDP ID

LDP identifier in the form of <LSR ID>:<label space>. The value of a label space can be:

  • 0: per-platform label space

  • Any value other than 0: per-interface label space

Peer Max PDU Length

Maximum length of the Protocol Data Unit (PDU) of the LDP peer.

Peer Transport Address

Transport address of the LDP peer, which is used to establish a TCP connection.

A transport address can be configured using the mpls ldp transport-address command.

Peer Loop Detection

Whether LDP peer loop detection negotiation is enabled:

  • On: Negotiation is enabled.

  • Off: Negotiation is disabled.

Peer Path Vector Limit

Upper limit of the path vector of the LDP peer.

Peer FT Flag

GR FT flag of the LDP peer:

  • On: LDP GR is enabled.

  • Off: LDP GR is disabled.

The flag can be set only when a peer receives an Initialization message carrying an FT TLV.

This function can be enabled using the graceful-restart (MPLS-LDP view) command on the peer.

Peer Keepalive Timer

Value (in seconds) of the Keepalive timer configured for the LDP peer.

This value is configured using the mpls ldp timer keepalive-hold command on the peer.

Recovery Timer

Timeout period (in seconds) of the Recovery timer of an LDP peer.

The field in not null only when LDP GR is enabled (the Peer FT flag field is On).

This value is configured using the graceful-restart timer recovery command on the peer.

Reconnect Timer

Timeout period (in seconds) of the Reconnect timer of an LDP peer.

The field in not null only when LDP GR is enabled (the Peer FT flag field is On).

Peer Type

Type of the LDP peer:

  • Local

  • Remote

  • Local&Remote

Peer Label Advertisement Mode

Label advertisement mode of an LDP peer:
  • Downstream Unsolicited
  • Downstream on Demand

This function can be configured using the mpls ldp advertisement command on the peer.

Peer Discovery Source

Discovery source of an LDP peer:
  • If an interface is displayed, the source of the local LDP peer is the local interface.

  • If the configuration name of the remote peer is displayed, the source of the remote LDP peer is the remote peer.

  • If both the interface name and the configured remote peer are configured, the discovered peer is a consistent local and remote LDP peer.

Peer Deletion Status

Whether the LDP peer is deleted:
  • Yes: The LDP peer is deleted.
  • No: The LDP peer is not deleted.

Capability-Announcement

Whether the LDP dynamic advertisement function is enabled:
  • On: LDP dynamic advertisement is enabled.

  • Off: LDP dynamic advertisement is disabled.

Peer mLDP P2MP Capability

Whether the LDP peer supports multipoint extensions for LDP (mLDP) point-to-multipoint (P2MP):

  • On: The LDP peer supports mLDP P2MP.

  • Off: The LDP peer does not support mLDP P2MP.

Peer mLDP MP2MP Capability

Whether the LDP peer supports multipoint extensions for LDP (mLDP) multipoint-to-multipoint (MP2MP):

  • On: The LDP peer supports mLDP MP2MP.

  • Off: The LDP peer does not support mLDP MP2MP.

Peer mLDP MBB Capability

Whether the LDP peer supports make-before-break:

  • On: The LDP peer supports mLDP make-before-break.

  • Off: The LDP peer does not support mLDP make-before-break.

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