20-3
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter20 Configuring UDLD
Configuring UDLD on the Switch
Enabling UDLD Globally
To enable UDLD globally on all fiber-optic interfaces on the switch, perform this task:
Enabling UDLD on Individual Interfaces
To enable UDLD on individual interfaces, perform this task:
Disabling UDLD on Non-Fiber-Optic Interfaces
To disable UDLD on individual non-fiber-optic interfaces, perform this task:
Command Purpose
Switch(config)# [no] udld enable Enables UDLD globally on fiber-optic interfaces on the
switch.
Use the no keyword to globally disable UDLD on fiber-optic
interfaces.
Note This command configures only fiber-optic interfaces.
An individual interface configuration overrides the
setting of this command.
Command Purpose
Step1 Switch(config-if)# udld enable Enables UDLD on a specific interface. On a fiber-optic
interface, this command overrides the udld enable global
configuration command setting.
Step2 Switch# show udld
interface
Verifies the configuration.
Command Purpose
Step1 Switch(config-if)# no udld enable Disables UDLD on a non-fiber-optic interface.
Note On fiber-optic interfaces, the no udld enable
command reverts the interface configuration to
the udld enable global configuration command
setting.
Step2 Switch# show udld
interface
Verifies the configuration.