Chapter 22 Configuring Udld; Understanding How Udld Works - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Configuring UDLD
This chapter describes how to configure the UniDirectional Link Detection (UDLD) protocol on the
Catalyst enterprise LAN switches.
Note
For complete syntax and usage information for the commands used in this chapter, refer to the Command
Reference—Catalyst 4000 Family, Catalyst 2948G, and Catalyst 2980G Switches.
This chapter consists of these sections:

Understanding How UDLD Works

The UDLD protocol allows devices connected through fiber-optic or copper Ethernet cables (for
example, Category 5 cabling) to monitor the physical configuration of the cables and detect when a
unidirectional link exists. When a unidirectional link is detected, UDLD shuts down the affected port
and alerts the user. Unidirectional links can cause a variety of problems, including spanning-tree
topology loops.
UDLD is a Layer 2 protocol that works with Layer 1 mechanisms such as autonegotiation to determine
the physical status of a link. At Layer 1, autonegotiation handles physical signaling and fault detection.
UDLD also performs tasks that autonegotiation cannot perform such as detecting the identities of
neighbors and shutting down misconnected ports. When both autonegotiation and UDLD are enabled,
Layer 1 and Layer 2 detection features can work together to prevent physical and logical unidirectional
connections and malfunctioning of other protocols.
A unidirectional link occurs whenever traffic transmitted by the local device over a link is received by
the neighbor but traffic transmitted from the neighbor is not received by the local device. For example,
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 situation, the logical link is undetermined, and UDLD does not take any actions. If both
fibers are working normally at Layer 1, then UDLD at Layer 2 determines whether those fibers are
connected correctly and whether traffic is flowing bidirectionally between the correct neighbors. This
check cannot be performed by autonegotiation, because autonegotiation is a Layer 1 feature.
78-12647-02
Understanding How UDLD Works, page 22-1
UDLD Software and Hardware Requirements, page 22-2
Default UDLD Configuration, page 22-3
Configuring UDLD, page 22-3
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
C H A P T E R
22
22-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents