20-2
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter20 Configuring UDLD
Default UDLD Configuration
The switch periodically transmits UDLD packets to neighbor devices on interfaces w ith UDLD enabled.
If the packets are echoed back within a specific time frame and they are lacking a specific
acknowledgment (echo), the link is flagged as unidirectional and the interface is shut down. Devices on
both ends of the link must support UDLD in order for the pro tocol to successfully identify and disable
unidirectional links.
Note By default, UDLD is locally disabled on copper interfaces to avoid sending un necessary control traffic
on this type of media, since it is often used for access interfaces.
Figure 20-1 shows an example of a unidirectional link condition. SwitchB successfully receives traffic
from SwitchA on the interface. However, Switch A does not receive traffic from SwitchB on the same
interface. UDLD detects the problem and disables the interface.
Figure20-1 Unidirectional Link
Default UDLD Configuration
Table20-1 shows the UD LD default configuration.
Configuring UDLD on the Switch
The following sections describe how to configure UDLD:
Enabling UDLD Globally, page 20-3
Enabling UDLD on Individual Interfaces, page 20-3
Disabling UDLD on Non-Fiber-Optic Interfaces, page 20-3
Disabling UDLD on Fiber-Optic Interfaces, page 20-4
Resetting Disabled Interfaces, page 20-4
TX
TX
RX
RX
Switch A
Switch B
18720
Table20-1 UDLD Default Configuration
Feature Default Status
UDLD global enable state Globally disabled
UDLD per-interface enable state for fiber-optic media Enabled on all Ethernet fiber-optic interfaces
UDLD per-interface enable state for twisted-pair (copper) media Disabled on all Ethe rnet 10/100 and 1 000BaseTX
interfaces