506
Configuring UDLD
How to Configure UDLD
Enabling UDLD on an Interface
Command Purpose
1. configure terminal Enters global configuration mode.
2. udld {aggressive | enable | message
time message-timer-interval}
Specifies the UDLD mode of operation:
aggressive—Enables UDLD in aggressive mode on all fiber-optic
ports.
enable—Enables UDLD in normal mode on all fiber-optic ports on
the switch. UDLD is disabled by default.
An individual interface configuration overrides the setting of the
udld enable global configuration command.
For more information about aggressive and normal modes, see
Modes of Operation, page 503.
message time message-timer-interval—Configures the period of
time between UDLD probe messages on ports that are in the
advertisement phase and are detected to be bidirectional. The
range is from 1 to 90 seconds.
Note: This command affects fiber-optic ports only. Use the udld
interface configuration command to enable UDLD on other port types.
For more information, see Enabling UDLD on an Interface, page 506.
3. end Returns to privileged EXEC mode.
Command Purpose
1. configure terminal Enters global configuration mode.
2. interface interface-id Specifies the port to be enabled for UDLD, and enters interface
configuration mode.
3. 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
Modes of Operation, page 503.
4. end Returns to privileged EXEC mode.