Cisco Systems N5KC5596TFA Switch User Manual


 
Configuring the UDLD Mode
You can configure normal or aggressive unidirectional link detection (UDLD) modes for Ethernet interfaces
on devices configured to run UDLD. Before you can enable a UDLD mode for an interface, you must make
sure that UDLD is already enabled on the device that includes the interface. UDLD must also be enabled on
the other linked interface and its device.
To use the normal UDLD mode, you must configure one of the ports for normal mode and configure the other
port for the normal or aggressive mode. To use the aggressive UDLD mode, you must configure both ports
for the aggressive mode.
Before you begin, UDLD must be enabled for the other linked port and its device.Note
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enables UDLD for the device.switch(config)# feature udld
Step 2
Disables UDLD for the device.switch(config)# no feature udld
Step 3
Displays the UDLD status for the device.switch(config)# show udld global
Step 4
Specifies an interface to configure, and enters
interface configuration mode.
switch(config)# interface type slot/port
Step 5
Enables the normal UDLD mode, disables
UDLD, or enables the aggressive UDLD mode.
switch(config-if)# udld {enable | disable
| aggressive}
Step 6
Displays the UDLD status for the interface.
switch(config-if)# show udld interface
Step 7
This example shows how to enable the UDLD for the switch:
switch# configure terminal
switch(config)# feature udld
This example shows how to enable the normal UDLD mode for an Ethernet port:
switch# configure terminal
switch(config)# interface ethernet 1/4
switch(config-if)# udld enable
This example shows how to enable the aggressive UDLD mode for an Ethernet port:
switch# configure terminal
switch(config)# interface ethernet 1/4
switch(config-if)# udld aggressive
This example shows how to disable UDLD for an Ethernet port:
switch# configure terminal
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
12 78-26881-OL
Configuring Layer 2 Interfaces
Configuring the UDLD Mode