show mpls ldp peer

show mpls ldp peer {ipaddress} {detail}

Description

Displays information about the status of the LDP sessions and hello adjacencies for all LDP peers.

Syntax Description

ipaddress Display session and hello adjacency information for a single LDP peer.
detail Display additional detailed information related to the session and adjacencies.

Default

N/A.

Usage Guidelines

Specifying the LDP peer's ipaddress displays session and hello adjacency information for a single LDP peer. When the detail keyword is specified, additional detailed information related to the session and adjacencies is displayed.

show mpls label Field Definitions describes the display fields that appear when this command is entered.

Table 1. show mpls ldp peer Field Definitions
Field Definition
IP Address Local IP address, which is used as the LSR-ID.
LDP Peer LDP identifier of LDP peer.
State Displays the state of the Initialization State Machine as described in RFC 3036, LDP Specification. The states are: NonExistent, Initialized, OpenRec, OpenSent, and Operational.
Uptime Displays the total time the session has been operational.
Adjacencies Displays the number of active adjacencies with the LDP peer.
Index The Entity Index used in the LDP Entity Table MIB.
Targeted Peer The IP address of the peer used in Extended Discovery. If this is not a targeted peer (Basic Discovery was used), this field displays Not Targeted.
Attempted Sessions This and other counters are described in RFC 3036, LDP Specification.
Shutdown Notifications This and other counters are described in RFC 3036, LDP Specification.
Peer IP address of peer.
Peer Label Space The label space as given by the peer and derived from the LDP Identifier. A zero value represents the global or per-platform label space. A non-zero value represents a per interface label space.
Session State Displays the state of the Initialization State Machine as described in RFC 3036, LDP Specification. The states are: NonExistent, Initialized, OpenRec, OpenSent, and Operational.
Session Uptime Displays the total time the session has been operational.
Discontinuity Time The system uptime for the most recent period after which one or more of the session's counters suffered a discontinuity.
Keep Alive Hold Timer Displays the configured keep alive hold timer value and the remaining hold time.
Label Distribution Method Label Distribution Method is either DU (Downstream Unsolicited) or DOD (Downstream On Demand), as described in RFC 3036, LDP Specification.
Max PDU Length The maximum allowable length for LDP PDUs (Protocol Data Units) for this session.
Unknown Msg Type Errors The number of messages received for this session without a recognized message type and without the ignore bit set.
Unknown TLV Errors The number of TLVs received for this session without a recognized TLV type and without the ignore bit set.
Next Hop Addr(s) A list of next hop addresses received from the peer through LDP address messages.

Example

The following command displays MPLS LDP session information for the LDP entity 11.100.100.30:

Mariner3.59 # show mpls ldp peer
IP Address      LDP Peer             State        Uptime          Adjacencies
11.100.100.30   11.100.100.55:0      Operational  0d:14h:51m:53s      1
11.100.100.30   14.4.0.99:15         Operational  0d:1h:0m:43s        1
11.100.100.30   14.4.0.99:16         Operational  0d:0h:34m:51s       1
Adjacencies:
Index                     : 1                         Attempted Sessions        : 1
Targeted Peer             : 11.100.100.210:0          Shutdown Notifications    : Sent 0 Rcvd 0
Mariner3.32 # show mpls ldp peer detail
Peer: 11.100.100.55      Peer label space: 0 (global)
Session State                 : Operational
Session Uptime               : 0d:0h:13m:41s
...
Peer: 14.4.0.99          Peer label space: 15
Session State                 : Operational
Session Uptime               : 0d:0h:57m:4s
...
Peer: 14.4.0.99          Peer label space: 16
Session State                 : Operational
Session Uptime               : 0d:0h:31m:12s
...
* DUT65.2 # show mpls ldp peer detail
Peer: 11.100.100.210     Peer Label Space: 0 (global)
Session State                : Operational
Session Uptime               : 0d:0h:6m:30s
Discontinuity Time           : 34677
Keep Alive Hold Timer        : 40 (remaining: 37.86)
Label Distribution Method    : DU
Max PDU Length               : 4096
Unknown Msg Type Errors      : 0
Unknown TLV Errors           : 0
Next Hop Addr(s)             : 11.100.100.210 12.20.20.210
Adjacencies:
Index                     : 1                         Attempted Sessions        : 0
Targeted Peer             : 11.100.100.210:0          Shutdown Notifications    : Sent 0 Rcvd 0
Admin Status              : Enabled                   No Hello Errors           : 0
Operational Status        : Up                        Advertisement Errors      : 0
Label Retention Mode      : Liberal                   Max PDU Errors            : 0
Hop Count Limit           : Disabled                  Bad LDP Identifier Errors : 0
Path Vector Limit         : Disabled                  Bad PDU Length Errors     : 0
Hello Hold Timer          : 45 (remaining: 38)        Bad TLV Length Errors     : 0
Malformed TLV Errors      : 0
Bad Message Length Errors : 0
Session Rejected Errors   : 0
Keep Alive Expired Errors : 0
Index                     : 6                         Attempted Sessions        : 0
Targeted Peer             : Not Targeted              Shutdown Notifications    : Sent 0 Rcvd 0
Admin Status              : Enabled                   No Hello Errors           : 0
Operational Status        : Up                        Advertisement Errors      : 0
Label Retention Mode      : Liberal                   Max PDU Errors            : 0
Hop Count Limit           : Disabled                  Bad LDP Identifier Errors : 0
Path Vector Limit         : Disabled                  Bad PDU Length Errors     : 0
Hello Hold Timer          : 15 (remaining: 10)        Bad TLV Length Errors     : 0
VLAN                      : v1                        Malformed TLV Errors      : 0
Interface address         : 12.20.20.182              Bad Message Length Errors : 0
Session Rejected Errors   : 0
Keep Alive Expired Errors : 0

History

This command was first available in ExtremeXOS 11.6.

Platform Availability

This command is available only on the platforms that support MPLS as described in the Switch Engine 32.2 Feature License Requirements document.