Chapter 21
Configuring UDLD
Enabling UDLD Globally
To enable UDLD globally on all fiber-optic interfaces on the switch, perform this task:
Command
Switch(config)# [no] udld enable
Enabling UDLD on Individual Interfaces
To enable UDLD on individual interfaces, perform this task:
Command
Step 1
Switch(config-if)# udld enable
Step 2
Switch# show udld interface
Disabling UDLD on Nonfiber-Optic Interfaces
To disable UDLD on individual nonfiber-optic interfaces, perform this task:
Command
Step 1
Switch(config-if)# no udld enable
Step 2
Switch# show udld interface
OL-6696-01
Purpose
Enables UDLD globally on fiber-optic interfaces on the
switch.
Use the no keyword to globally disable UDLD on fiber-optic
interfaces.
This command configures only fiber-optic interfaces.
Note
An individual interface configuration overrides the
setting of this command.
Purpose
Enables UDLD on a specific interface. On a fiber-optic
interface, this command overrides the udld enable global
configuration command setting.
Verifies the configuration.
Purpose
Disables UDLD on a nonfiber-optic interface.
On fiber-optic interfaces, the no udld enable
Note
command reverts the interface configuration to
the udld enable global configuration command
setting.
Verifies the configuration.
Software Configuration Guide—Release 12.2(25)EW
Configuring UDLD on the Switch
21-3