Chapter 1
Configuring UDLD
Enabling UDLD Globally
Beginning in privileged EXEC mode, follow these steps to enable UDLD in the aggressive or normal
mode and to set the configurable message timer on all fiber-optic ports on the switch and all members
in the switch stack:
Command
Step 1
configure terminal
Step 2
udld {aggressive | enable | message
time message-timer-interval}
Step 3
end
Step 4
show udld
Step 5
copy running-config
startup-config
To disable UDLD globally, use the no udld enable global configuration command to disable normal
mode UDLD on all fiber-optic ports. Use the no udld aggressive global configuration command to
disable aggressive mode UDLD on all fiber-optic ports.
OL-25303-03
Purpose
Enter global configuration mode.
Specify 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 the
"Modes of Operation" section on page
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; the default value is 15.
Note
The global UDLD setting is automatically applied to switches that
join the switch stack.
This command affects fiber-optic ports only. Use the udld interface
Note
configuration command to enable UDLD on other port types. For
more information, see the
on page
1-6.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Configuring UDLD
1-1.
"Enabling UDLD on an Interface" section
1-5