CHAPTER
14-1
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
14
Configuring UDLD
This chapter describes how to configure the UniDirectional Li nk De tect ion ( UDL D) pro toc ol on y our
switch.
Note For complete syntax and usage information for the commands used in this chapter, refer to the
Catalyst 3550 Multilayer Switch Command Reference for this release.
This chapter consists of these sections:
Understanding UDLD, page 14-1
Configuring UDLD, page 14-3
Displaying UDLD Status, page 14-5

Understanding UDLD

UDLD is a Layer 2 protocol that enables devices connected through fiber-optic or twiste d-pair Ethernet
cables to monitor the physical configuration of the cables and detect when a unidire ctiona l link ex ists.
All connected devices must support UDLD for the protocol to successfully identify and disable
unidirectional links. When UDLD detects a unidirectional link, it administratively shuts down the
affected port and alerts you. Unidirectional links can c au se a va rie t y of pro bl ems, i ncl uding
spanning-tree topology loops.
UDLD works with the Layer 1 mechanisms to determine the physical status of a link. At Layer 1,
autonegotiation takes care of physical signaling and fault detection. UDLD performs tasks that
autonegotiation cannot perform, such as detecting the identities of neighbors and shutting down
misconnected interfaces. When you enable both autonegotiation and UDLD, Laye r 1 and Layer 2
detections work together to prevent physical and logical unidirectional connectio ns and the
malfunctioning of other protocols.
A unidirectional link occurs whenever traffic sent by the local device is received by the neighbor but
traffic from the neighbor is not received by the local device. If one of the fiber strands in a pair is
disconnected, as long as autonegotiation is active, the link does not stay up. In this case, the logi cal lin k
is undetermined, and UDLD does not take any action. If both fibers are working normally from a Layer
1 perspective, UDLD at Layer 2 determines whether those fibers are connected correctly and whether
traffic is flowing bidirectionally between the correct neighbors. This check can not be perf ormed by
autonegotiation because autonegotiation operates at Layer 1.