close
Enabling Aggressive UDLD on SW1 and SW2
SW1#config t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#interface range gigabitethernet 1/1 - 2
SW1(config-if-range)#udld enable
SW1(config-if-range)#udld aggressive
SW1(config-if-range)#end
SW2#config t
Enter configuration commands, one per line. End with CNTL/Z.
SW2(config)#interface range gigabitethernet 1/1 - 2
SW2(config-if-range)#udld enable
SW2(config-if-range)#udld aggressive
SW2(config-if-range)#end
SW2#
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#interface range gigabitethernet 1/1 - 2
SW1(config-if-range)#udld enable
SW1(config-if-range)#udld aggressive
SW1(config-if-range)#end
SW2#config t
Enter configuration commands, one per line. End with CNTL/Z.
SW2(config)#interface range gigabitethernet 1/1 - 2
SW2(config-if-range)#udld enable
SW2(config-if-range)#udld aggressive
SW2(config-if-range)#end
SW2#
Output of show udld Command on SW1
SW1#show udld
Interface Gi1/1
---
Port enable administrative configuration setting: Enabled / in aggressive mode
Port enable operational state: Enabled / in aggressive mode
Current bidirectional state: Unknown
Current operational state: Advertisement
Message interval: 7
Time out interval: 5
No neighbor cache information stored
Interface Gi1/2
---
Port enable administrative configuration setting: Enabled / in aggressive mode
Port enable operational state: Enabled / in aggressive mode
Current bidirectional state: Bidirectional
Current operational state: Advertisement - Single neighbor detected
Message interval: 60
Time out interval: 5
Entry 1
---
Expiration time: 168
Device ID: 1
Current neighbor state: Bidirectional
Device name: SAD04281ARM
Port ID: Gi1/1
Neighbor echo 1 device: SAD050814BH
Neighbor echo 1 port: Gi1/2
Message interval: 5
CDP Device name: SW2
Interface Gi1/1
---
Port enable administrative configuration setting: Enabled / in aggressive mode
Port enable operational state: Enabled / in aggressive mode
Current bidirectional state: Unknown
Current operational state: Advertisement
Message interval: 7
Time out interval: 5
No neighbor cache information stored
Interface Gi1/2
---
Port enable administrative configuration setting: Enabled / in aggressive mode
Port enable operational state: Enabled / in aggressive mode
Current bidirectional state: Bidirectional
Current operational state: Advertisement - Single neighbor detected
Message interval: 60
Time out interval: 5
Entry 1
---
Expiration time: 168
Device ID: 1
Current neighbor state: Bidirectional
Device name: SAD04281ARM
Port ID: Gi1/1
Neighbor echo 1 device: SAD050814BH
Neighbor echo 1 port: Gi1/2
Message interval: 5
CDP Device name: SW2
全站熱搜