UDLD Commands
1027 OL-32830-01 Command Line Interface Reference Guide
54
Port UDLD mode: aggressive
Port Current state: Bidirectional
Number of detected neighbors: 1
Port Neighbor Table
Neighbor Device ID: 1234567893
Neighbor MAC: 00:00:01:22:33:dd
Neighbor Device name: switch A
Neighbor Port ID: gi1/2/1
Neighbor Message Time: 20 sec
Neighbor Current State: Bidirectional
Neighbor Expiration Time: 7 sec
Neighbor Device ID: 1234544893
Neighbor MAC: 00:00:01:22:33:ff
Neighbor Device name: switch A
Neighbor Port ID: gi1/2/1
Neighbor Message Time: 15 sec
Neighbor Current State: Undetermined
Neighbor Expiration Time: 17 sec
Example 3—This example shows how to display neighbor information only:
switchxxxxxx#
show udld neighbors
Port Device ID Port-ID Device Name Message Neighbor Expiration
Time(sec) State Time (sec)
-------- -------------- --------- --------------- --------- ---------- ---------
gi11
1234567893
gi1/0/1 SAL0734K5R2 15 Bidirect 11
gi12
3456750193
gi1/0/2 SAL0734K5R3 20
Undetermined
5
Example 4—This example shows how to display neighbor information only for a
single interface:
switchxxxxxx#
show udld
gi11
neighbors
Port Device ID Port-ID Device Name Message Neighbor Expiration
Time(sec) State Time (sec)
-------- -------------- --------- --------------- --------- ---------- ---------
gi11
1234567893
gi1/0/1 SAL0734K5R2 15 Bidirect 11