24-6
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
Chapter24 Configuring UDLD
Displaying UDLD Status

Resetting an Interface Disabled by UDLD

Beginning in privileged EXEC mode, follow these steps to reset all ports disabled by UDLD:
You can also bring up the port by using these commands:
The shutdown interface configuration command followed by the no shutdown interface
configuration command restarts the disabled port.
The no udld {aggressive | enable} global configuration command followed by the udld
{aggressive | enable} global configuration command re-enables the disabled ports.
The no udld port interface configuration command followed by the udld port [aggressive]
interface configuration command re-enables the disabled fiber-optic port.
The errdisable recovery cause udld global configuration command enables the timer to
automatically recover from the UDLD error-disabled state, and the errdisable recovery interval
interval global configuration command specifies the time to recover from the UDLD error-disabled
state.
Displaying UDLD Status
To display the UDLD status for the specified port or for all ports, use the show udld [interface-id]
privileged EXEC command.
For detailed information about the fields in the command output, see the command reference for this
release.
Step3 udld port [aggressive] UDLD is disabled by default.
udld port—Enables UDLD in normal mode on the specified port.
udld port aggressive—Enables UDLD in aggressive mode on the
specified port.
Note Use the no udld port interface configuration command to
disable UDLD on a specified fiber-optic port.
For more information about aggressive and normal modes, see the
“Modes of Operation” section on page 24-1.
Step4 end Return to privileged EXEC mode.
Step5 show udld interface-id Verify your entries.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step1 udld reset Reset all ports disabled by UDLD.
Step2 show udld Verify your entries.