Configuring UDLD on the Switch
Enabling UDLD on Individual Ports
To enable UDLD on individual ports, perform this task in privileged mode:
Task
Step 1
Enable UDLD on a specific port.
Step 2
Verify the configuration.
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
Message Interval: 15 seconds
Port
--------
4/1
Console> (enable)
Disabling UDLD on Individual Ports
To disable UDLD on individual ports, perform this task in privileged mode:
Task
Step 1
Disable UDLD on a specific port.
Step 2
Verify the configuration.
This example shows how to disable UDLD on port 4/1:
Console> (enable) set udld disable 4/1
UDLD disabled on port 4/1.
Console> (enable)
Disabling UDLD Globally
To disable UDLD globally on the switch, perform this task in privileged mode:
Task
Step 1
Disable UDLD globally.
Step 2
Verify the configuration.
This example shows how to disable UDLD globally:
Console> (enable) set udld disable
UDLD disabled globally
Console> (enable)
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
23-4
: enabled
Admin Status
Aggressive Mode Link State
------------
--------------- ---------
enabled
disabled
Command
set udld enable mod_num/port_num
show udld port [mod_num[/port_num]]
bidirectional
Command
set udld disable mod_num/port_num
show udld port [mod_num[/port_num]]
Command
set udld disable
show udld
—
Release 8.1
Chapter 23
Configuring UDLD
78-15486-01