Configuring UDLD
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
Step 1
configure terminal
Step 2
interface interface-id
Step 3
udld port [aggressive]
Step 4
end
Step 5
show udld interface-id
Step 6
copy running-config startup-config
To disable UDLD on a non-fiber-optic interface, use the no udld port interface configuration command.
Note
On fiber-optic interfaces, the no udld port command reverts the interface configuration to the udld
enable global configuration command setting.
Use the no udld port interface configuration command to disable UDLD on a fiber-optic interface
Resetting an Interface Shut Down by UDLD
Beginning in privileged EXEC mode, follow these steps to reset all interfaces shut down by UDLD:
Command
Step 1
udld reset
Step 2
show udld
Step 3
copy running-config startup-config
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
22-6
Purpose
Enter global configuration mode.
Specify the interface to be enabled for UDLD, and enter interface
configuration mode.
Specify the UDLD mode of operation:
•
(Optional) aggressive— Enables UDLD in aggressive mode on the
specified interface. UDLD is disabled by default.
If you do not enter the aggressive keyword, the switch enables
UDLD in normal mode.
On a fiber-optic interface, this command overrides the udld enable
global configuration command setting.
For more information about aggressive and normal modes, see the
"Modes of Operation" section on page
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Reset all interfaces shut down by UDLD.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 22
Configuring UDLD
22-1.
78-11380-12