run show mpls ldp neighbor
The run show mpls ldp neighbor command is used to view the information of the MPLS neighbors discovered. The detail option shows comprehensive information about an LDP session, including session authentication, state, message statistics and LDP discovery source information. The capabilities option shows the neighbor capabilities information.
Command Syntax
run show mpls ldp neighbor [<neighbor-router-id>] [detail] [capabilities]
Parameter
Parameter | Description |
---|---|
<neighbor-router-id> | Optional. Specifies the neighbor LDP router ID in A.B.C.D format. |
Example
View the information of the MPLS neighbors discovered.
admin@sw3# run show mpls ldp neighbor
AF ID State Remote Address Uptime
ipv6 2.2.2.2 OPERATIONAL 2::2 3d01h33m
ipv6 4.4.4.4 OPERATIONAL 4::4 3d01h32m
ipv6 5.5.5.5 OPERATIONAL 5::5 3d01h32m
admin@sw3# run show mpls ldp neighbor 2.2.2.2
AF ID State Remote Address Uptime
ipv6 2.2.2.2 OPERATIONAL 2::2 3d01h33m
The state of an LDP session are as follows:
PRESENT: This represents the initial state of the LDP session. In this state, both parties exchange Hello messages, and upon receiving the TCP connection establishment event, the session transitions to the INITIALIZED state.
INITIALIZED: This indicates that the LDP session is in the initialization phase.
OPENSENT: After entering the INITIALIZED state, the active party sends an Initialized message to the passive party and waits for a response.
OPENREC: After entering the INITIALIZED state, when both parties have received the Keepalive message from each other, the LDP session transitions to the OPERATIONAL state.
OPERATIONAL: This indicates that the LDP session has been successfully established.
View the information of the MPLS neighbors discovered in detail.
admin@sw3# run show mpls ldp neighbor 2.2.2.2 detail
Peer LDP Identifier: 2.2.2.2:0
TCP connection: 3::3:34795 - 2::2:646
Authentication: none
Session Holdtime: 180 secs; KeepAlive interval: 60 secs
State: OPERATIONAL; Downstream-Unsolicited
Up time: 3d01h33m
Messages sent/rcvd:
- Keepalive Messages: 4409/4404
- Address Messages: 3/7
- Address Withdraw Messages: 3/8
- Notification Messages: 0/0
- Capability Messages: 0/0
- Label Mapping Messages: 89/158
- Label Request Messages: 0/0
- Label Withdraw Messages: 13/21
- Label Release Messages: 21/13
- Label Abort Request Messages: 0/0
Capabilities Sent:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
Capabilities Received:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
LDP Discovery Sources:
IPv6:
Interface: vlan30
admin@sw3# run show mpls ldp neighbor detail
Peer LDP Identifier: 2.2.2.2:0
TCP connection: 3::3:34795 - 2::2:646
Authentication: none
Session Holdtime: 180 secs; KeepAlive interval: 60 secs
State: OPERATIONAL; Downstream-Unsolicited
Up time: 3d01h33m
Messages sent/rcvd:
- Keepalive Messages: 4409/4404
- Address Messages: 3/7
- Address Withdraw Messages: 3/8
- Notification Messages: 0/0
- Capability Messages: 0/0
- Label Mapping Messages: 89/158
- Label Request Messages: 0/0
- Label Withdraw Messages: 13/21
- Label Release Messages: 21/13
- Label Abort Request Messages: 0/0
Capabilities Sent:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
Capabilities Received:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
LDP Discovery Sources:
IPv6:
Interface: vlan30
Peer LDP Identifier: 4.4.4.4:0
TCP connection: 3::3:646 - 4::4:33289
Authentication: none
Session Holdtime: 180 secs; KeepAlive interval: 60 secs
State: OPERATIONAL; Downstream-Unsolicited
Up time: 3d01h33m
Messages sent/rcvd:
- Keepalive Messages: 4409/4410
- Address Messages: 3/1
- Address Withdraw Messages: 3/3
- Notification Messages: 0/0
- Capability Messages: 0/0
- Label Mapping Messages: 106/4
- Label Request Messages: 0/0
- Label Withdraw Messages: 10/10
- Label Release Messages: 10/10
- Label Abort Request Messages: 0/0
Capabilities Sent:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
Capabilities Received:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
LDP Discovery Sources:
IPv6:
Interface: vlan10
Peer LDP Identifier: 5.5.5.5:0
TCP connection: 3::3:646 - 5::5:39257
Authentication: none
Session Holdtime: 180 secs; KeepAlive interval: 60 secs
State: OPERATIONAL; Downstream-Unsolicited
Up time: 3d01h33m
Messages sent/rcvd:
- Keepalive Messages: 4409/4408
- Address Messages: 3/4
- Address Withdraw Messages: 3/5
- Notification Messages: 0/0
- Capability Messages: 0/0
- Label Mapping Messages: 43/90
- Label Request Messages: 0/0
- Label Withdraw Messages: 10/21
- Label Release Messages: 21/10
- Label Abort Request Messages: 0/0
Capabilities Sent:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
Capabilities Received:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
LDP Discovery Sources:
IPv6:
Interface: vlan20
admin@sw3# run show mpls ldp neighbor capabilities
Peer LDP Identifier: 2.2.2.2:0
Capabilities Sent:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
Capabilities Received:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
Peer LDP Identifier: 4.4.4.4:0
Capabilities Sent:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
Capabilities Received:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
Peer LDP Identifier: 5.5.5.5:0
Capabilities Sent:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
Capabilities Received:
- Dynamic Announcement (0x0506)
- Typed Wildcard (0x050B)
- Unrecognized Notification (0x0603)
Copyright © 2024 Pica8 Inc. All Rights Reserved.