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 ("). |
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.
The actual command output varies according to the device. The command output here is only an example.
<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 -------------------------------------------------------------------------------
<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.
Item | Description |
---|---|
Peer LDP ID | Value of an LDP identifier in the form of LSR ID:Label space. The label space value can be:
|
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:
|
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:
|
Peer Keepalive Timer | Configured value of the Keepalive timer for an LDP peer. |
Peer Type | Type of an LDP peer:
|
Peer Label Advertisement Mode | Label advertisement mode of an LDP peer:
|
Peer Discovery Source | Discovery source of an LDP peer:
|
Peer mLDP P2MP Capability | Whether the LDP peer supports mLDP P2MP:
|
Peer mLDP MBB Capability | Whether the LDP peer supports mLDP make-before-break:
|
Peer mLDP MP2MP Capability | Whether the LDP peer supports 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:
|
PeerID | Value of an LDP identifier in the form of LSR ID:Label space. The label space value can be:
|
TransportAddress | Transport address of an LDP peer for initiating a TCP connection for an LDP session. |
DiscoverySource | Discovery source of an LDP peer:
|