![Cisco 2948G - Catalyst Switch Configuration Manual Download Page 364](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462364.webp)
23-4
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 23 Configuring UDLD
Configuring UDLD on the Switch
Enabling UDLD on Individual Ports
To enable UDLD on 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)
Disabling UDLD on Individual Ports
To disable UDLD on individual ports, perform this task in privileged mode:
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:
This example shows how to disable UDLD globally:
Console> (enable) set udld disable
UDLD disabled globally
Console> (enable)
Task
Command
Step 1
Enable UDLD on a specific port.
set udld enable mod_num/port_num
Step 2
Verify the configuration.
show udld port [mod_num[/port_num]]
Task
Command
Step 1
Disable UDLD on a specific port.
set udld disable mod_num/port_num
Step 2
Verify the configuration.
show udld port [mod_num[/port_num]]
Task
Command
Step 1
Disable UDLD globally.
set udld disable
Step 2
Verify the configuration.
show udld