2-524
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
udld
udld
Use the udld global configuration command to enable aggressive or normal mode in the UniDirectional
Link Detection (UDLD) and to set the configurable message timer. Use the no form of this command to
return to the default settings.
udld {aggressive | enable | message time message-timer-interval}
no udld {aggressive | enable | message time}
Syntax Description
Defaults UDLD is disabled on all fiber-optic interfaces.
The message timer is set at 60 seconds.
Command Modes Global configuration
Command History
Usage Guidelines Use the udld global configuration command to enable UDLD only on fiber-optic ports. To enable UDLD
on other interface types, use the udld interface configuration command.
UDLD supports two modes of operation: normal mode (the default) and aggressive mode. In normal
mode, UDLD detects unidirectional links due to misconnected interfaces on fiber-optic connections. In
aggressive mode, UDLD also detects unidirectional links due to one-way traffic on fiber-optic and
twisted-pair links and due to misconnected interfaces on fiber-optic links. For information about normal
and aggressive modes, see the “Understanding UDLD” section in the software configuration guide for
this release.
If you change the message time between probe packets, you are making a trade-off between the detection
speed and the CPU load. By decreasing the time, you can make the detection-response faster but increase
the load on the CPU.
You can use these commands to reset an interface shut down by UDLD:
• The udld reset privileged EXEC command to reset all interfaces shut down by UDLD
• The shutdown and no shutdown interface configuration commands
aggressive Enable UDLD in aggressive mode on all fiber-optic interfaces.
enable Enable UDLD in normal mode on all fiber-optic interfaces.
message time
message-timer-interval
Configure the period of time between UDLD probe messages on ports that
are in the advertisement phase and are determined to be bidirectional. The
range is 7 to 90 seconds.
Release Modification
12.0(5.2)WC(1) This command was introduced.
12.1(6)EA2 The udld enable global configuration command was changed to udld
(global configuration).