< Home

display mpls ldp peer

Function

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

Format

display mpls ldp peer [ [ all ] [ verbose ] | peer-id ]

Parameters

Parameter Description Value
verbose Displays detailed information about LDP peers. -
peer-id Displays information about a specified LDP peer. The value is in dotted decimal notation.
all Displays information about all LDP peers. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

If an LDP LSP fails to be established, run the display mpls ldp peer command to view the DiscoverySource field and check the interface through which the peer relationship is established.

The system supports the coexistent local and remote LDP peers. When you run the display mpls ldp peer command, information about both local and remote LDP peers is displayed.

You can set the peer-id parameter to specify a peer.

Precautions

You can view information about LDP peers only after the peers have been established using the mpls ldp (interface view) or remote-ip command.

Example

# Display information about LDP peers.

<HUAWEI> 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
 3.3.3.3:0             3.3.3.3            Vlanif100
 ------------------------------------------------------------------------------
 TOTAL: 2 Peer(s) Found.
Table 1 Description of the display mpls ldp peer command output

Item

Description

PeerID

LDP identifier of the peer in the format of <LSR ID>:<label space>. The value of a label space can be either of the following:

  • 0: per-platform label space.

  • Non-0: per-interface label space.

TransportAddress

Transport address of an LDP peer.

The transport address is used to set up TCP connections.

DiscoverySource

Discovery source of an LDP peer:
  • Interface name: indicates the source that discovers the local LDP peer.

  • Remote LDP peer name: indicates the source that discovers the remote LDP peer.

# Display detailed information about LDP peers.

<HUAWEI> 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           :Remote
 Peer Label Advertisement Mode : Downstream Unsolicited  
 Peer Discovery Source         : remote peer: rtb 
 Peer Deletion Status          : No
 Capability-Announcement       : Off 
 Peer mLDP P2MP Capability     : Off                                            
 Peer mLDP MBB Capability      : Off    
 ------------------------------------------------------------------------------
 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           : Local
 Peer Label Advertisement Mode : Downstream Unsolicited 
 Peer Discovery Source         : Vlanif100 
 Peer Deletion Status          : No
 Capability-Announcement       : Off 
 Peer mLDP P2MP Capability     : Off                                            
 Peer mLDP MBB Capability      : Off   
 ------------------------------------------------------------------------------
Table 2 Description of the display mpls ldp peer verbose command output

Item

Description

Peer LDP ID

LDP identifier of the peer in the format of <LSR ID>:<label space>. The value of a label space can be either of the following:

  • 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.

The transport address is used to set up TCP connections.

Peer Loop Detection

Whether loop detection of an LDP peer is enabled:

  • On: Loop detection is enabled.

  • Off: Loop detection is disabled.

To configure the loop detection function, run the loop-detect command.

Peer Path Vector Limit

Indicates the upper limit of the Path Vector for an LDP peer.

To set the upper limit of the Path Vector for an LDP peer, run the path-vectors command.

Peer FT Flag

GR FT flag of an LDP peer:

  • On: LDP GR is enabled.

  • Off: LDP GR is disabled.

The flag can only be set after an Initialization message containing an FT TLV is received.

Peer Keepalive Timer

Configured value of the Keepalive timer on an LDP peer.

To set the value of the Keepalive timer, run the mpls ldp timer keepalive-hold command.

Recovery Timer

Timeout period of the Recovery timer of an LDP peer.

The value of the Recovery Timer field is not null only when the Peer FT Flag field is On.

To set the timeout period of the Recovery timer, run the graceful-restart timer recovery command.

Reconnect Timer

Timeout period of the Reconnect timer of an LDP peer.

The value of the Recovery Timer field is not null only when the Peer FT Flag field is On.

To set the timeout period of the Reconnect timer, run the graceful-restart timer reconnect command.

Peer Type

Type of an LDP peer:

  • Local

  • Remote

  • Local&Remote

Peer Label Advertisement Mode

Indicates the label advertisement mode of an LDP peer:
  • Downstream Unsolicited

  • Downstream on Demand

The switch supports the Downstream Unsolicited (DU) mode.

Peer Discovery Source

Discovery source of an LDP peer:
  • If the 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 end of the remote LDP peer is the remote peer.

Peer Deletion Status

Deletion status of an LDP peer:
  • Yes: LDP peer is being deleted.
  • No: LDP peer is not being deleted.

Capability-Announcement

Status of the LDP dynamic capability announcement function:
  • On: LDP dynamic capability announcement is enabled.

  • Off: LDP dynamic capability announcement is disabled.

NOTE:

The switch does not support this parameter.

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 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 >