18-4
Catalyst2950 Desktop Switch Software Configuration Guide
78-11380-05
Chapter18 Configuring UDLD
Configuring UDLD
Enabling UDLD Globally
Beginning in privileged EXEC mode, follow these steps to enable UDLD in the aggressive or normal
mode and to set the configurable message timer on all fiber-optic interfaces on the switch:
To disable UDLD globally, use the no udld enable global configuration command to disable normal
mode UDLD on all fiber-optic ports. Use the no udld aggressive global configuration command to
disable aggressive mode UDLD on all fiber-optic ports.
Enabling UDLD on an Interface
Beginning in privileged EXEC mode, follow these steps to enable UDLD in the aggressive or normal
mode on an interface:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 udld {aggressive | enable | message time
message-timer-interval}Specify the UDLD mode of operation:
aggressiveEnables UDLD in aggressive mode on all fiber-optic
interfaces. For details on the usage guidelines for the aggressive
mode, refer to the command reference guide.
enableEnables UDLD in normal mode on all fiber-optic
interfaces on the switch. UDLD is disabled by default.
An individual interface configuration overrides the setting of the
udld enable global configuration command.
message time message-timer-intervalConfigures 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 from 7 to 90 seconds.
Note This command affects fiber-optic interfaces only. Use the udld
interface configuration command to enable UDLD on other
interface types. For more information, see the Enabling UDLD
on an Interface section on page 18-4.
Step3 end Return to privileged EXEC mode.
Step4 show udld Verify your entries.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step1 configure terminal Enter glo ba l configur atio n m ode .
Step2 interface interface-id Enter interface configuration mode, and specify the interface to be
enabled for UDLD.