32-3
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 32 Configuring UDLD
Configuring UDLD on the Switch
Configuring UDLD on the Switch
These sections describe how to configure UDLD:
•
Enabling UDLD Globally, page 32-3
•
Enabling UDLD on Individual Ports, page 32-3
•
Disabling UDLD on Individual Ports, page 32-4
•
Disabling UDLD Globally, page 32-4
•
Specifying the UDLD Message Interval, page 32-4
•
Enabling UDLD Aggressive Mode, page 32-5
•
Displaying the UDLD Configuration, page 32-5
Enabling UDLD Globally
To enable UDLD globally on the switch, perform this task in privileged mode:
This example shows how to enable UDLD globally and verify the configuration:
Console> (enable)
set udld enable
UDLD enabled globally
Console> (enable)
show udld
UDLD : enabled
Console> (enable)
Enabling UDLD on Individual Ports
To enable UDLD on the individual ports, perform this task in privileged mode:
This example shows how to enable UDLD on port 4/1 and verify the configuration:
Console> (enable)
set udld enable 4/1
UDLD enabled on port 4/1
Console> (enable)
show udld port 4/1
UDLD : enabled
Message Interval: 15 seconds
Port Admin Status Aggressive Mode Link State
-------- ------------ --------------- ---------
4/1 enabled disabled
bidirectional
Console> (enable)
Task
Command
Step 1
Enable UDLD globally on the switch.
set udld enable
Step 2
Verify the configuration.
show udld
Task
Command
Step 1
Enable UDLD on a specific port.
set udld enable
mod/port
Step 2
Verify the configuration.
show udld port
[
mod
[
/
port
]]