udld
To configure the interfaces to use a Unidirectional Link Detection (UDLD) mode, use the udld command.
udld {enable | disable}
Syntax Description
disable |
Disables the UDLD mode for fiber interfaces. |
enable |
Enables the normal UDLD mode for nonfiber interfaces. |
Command Default
By default, UDLD is disabled for the 48-port, 10/100/1000-Ethernet module ports.
By default, UDLD is enabled for the 32-port, 10-Gigabit Ethernet module ports.
Command Modes
Interface configuration mode
Command History
Release |
Modification |
---|---|
4.0 |
This command was introduced. |
Usage Guidelines
Before you can enable a UDLD mode for specified interfaces, you must make sure that UDLD is already enabled globally on the device. Use the feature udld command to enable UDLD globally.
Use the udld command to enable or disable UDLD separately on specified interfaces . This action enables UDLD in normal mode. Enter the udld aggressive command to enable the aggressive mode on UDLD-enabled interfaces.
This command does not require a license.
Examples
This example shows how to enable the normal UDLD mode for Ethernet port 3/1:
switch# configure terminal
switch(config)# feature udld
switch(config)# interface ethernet 3/1
switch(config-if)# udld enable
This example shows how to disable UDLD for Ethernet port 3/1:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if-range)# udld disable