Purpose
Display LDP neighbor information.
Action
To display information about LDP neighbor 10.3.5.1:
host1#show ldp neighbor 10.3.5.1 LDP Neighbor: 10.0.2.2 LSR: Remote 10.0.2.2:0, local 10.0.1.1:0 Transport address: remote 10.0.2.2, local 10.0.1.1 State: Operational LDP advertisement: Unsolicited Up for 00:20:03
Number of next-hop addresses received = 3
10.0.2.2 100.6.12.2 100.6.23.2
Number of adjacencies = 1
Link Hello adjacency: address 10.6.12.2, transport 10.0.2.2,
Up for 00:20:09, remaining hold time: 11 sec
To display brief information about all LDP neighbors:
host1#show ldp neighbor brief
Neighbor Transport Address State 10.0.2.2 10.0.1.1->80.0.2.2 Operational
To display information about graceful restart for neighbors:
host1#show ldp neighbor graceful-restart LDP Neighbor: 10.0.1.1 Graceful Restart is disabled Helper Mode is enabled Reconnect Time: 0 msec Recovery Time: 0 msec State: operational
LDP neighbor 10.0.2.2 Graceful Restart is enabled Helper Mode is enabled Reconnect Time: 220000 msec Recovery Time: 0 msec State: operational
To display information about LDP statistics for the session with each LDP neighbor:
host1#show ldp neighbor statistics
LDP Neighbor: 10.0.2.2 Message type Received Sent ---------------- -------- ---- Initialization 1 1 Keepalive 85 85 Notification 0 0 Address 1 1 Address withdraw 0 0 Label mapping 5 5 Label request 0 0 Label withdraw 2 2 Label release 2 2
![]() |
Note: The mpls keyword is optional and is provided for compatibility with non–E-series implementations. |
![]() |
Note: If a password is configured for a peer, you can view the password with the show configuration command. This command displays the passwords in cleartext unless the service password-encryption command has been issued, in which case the passwords are displayed in encrypted format. |
Meaning
Table 39 lists the show ldp neighbor command output fields.
Table 39: show ldp neighbor Output Fields