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. | - |
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.
# 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.
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:
|
TransportAddress |
Transport address of an LDP peer. The transport address is used to set up TCP connections. |
DiscoverySource |
Discovery source of an 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 ------------------------------------------------------------------------------
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:
|
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:
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:
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:
|
Peer Label Advertisement Mode |
Indicates the label advertisement mode of an LDP peer:
The switch supports the Downstream Unsolicited (DU) mode. |
Peer Discovery Source |
Discovery source of an LDP peer:
|
Peer Deletion Status |
Deletion status of an LDP peer:
|
Capability-Announcement |
Status of the LDP dynamic capability announcement function:
NOTE:
The switch does not support this parameter. |
Peer mLDP P2MP Capability |
Whether the LDP peer supports mLDP P2MP:
|
Peer mLDP MBB Capability |
Whether the LDP peer supports make-before-break:
|