![Cisco 2948G - Catalyst Switch Configuration Manual Download Page 363](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462363.webp)
23-3
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
Configuring UDLD on the Switch
These sections describe how to configure UDLD:
•
Enabling UDLD Globally, page 23-3
•
Enabling UDLD on Individual Ports, page 23-4
•
Disabling UDLD on Individual Ports, page 23-4
•
Disabling UDLD Globally, page 23-4
•
Specifying the UDLD Message Interval, page 23-5
•
Enabling UDLD Aggressive Mode, page 23-5
•
Displaying the UDLD Configuration, page 23-6
Enabling UDLD Globally
You must enable UDLD globally before any port can use UDLD.
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)
Table 23-1 UDLD Default Configuration
Feature
Default Value
UDLD global enable state
Globally disabled
UDLD per-port enable state
•
Enabled on all Ethernet, Fast Ethernet, and Gigabit Ethernet ports
using fiber-optic media
•
Disabled on all Ethernet and Fast Ethernet ports using copper
media
UDLD message interval
15 sec
UDLD aggressive mode
Disabled
Task
Command
Step 1
Enable UDLD globally.
set udld enable
Step 2
Verify the configuration.
show udld