Configuring UDLD
To disable UDLD globally on fiber-optic interfaces, use the no udld enable global configuration
command.
Enabling UDLD on an Interface
Beginning in privileged EXEC mode, follow these steps to enable UDLD on an interface:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
udld enable
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 enable interface configuration
command.
Note
On fiber-optic interfaces, the no udld enable command reverts the interface configuration to the udld
enable global configuration command setting.
To disable UDLD on a fiber-optic interface, use the udld disable command to revert to the udld enable
global configuration command setting. This command is not supported on non-fiber-optic interfaces.
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
You can also bring up the interface by using these commands:
•
•
•
Catalyst 2950 Desktop Switch Software Configuration Guide
18-4
The no shutdown interface configuration command restarts the disabled interface.
The no udld enable global configuration command re-enables UDLD globally.
The udld disable interface configuration command re-enables UDLD on the specified interface.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and specify the interface to be
enabled for UDLD.
Enable UDLD on the specified interface.
On a fiber-optic interface, this command overrides the udld enable
global configuration command setting.
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 18
Configuring UDLD
78-11380-04