24-2

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 24      Configuring UDLD

Understanding UDLD

In normal mode, UDLD detects a unidirectional link when fiber strands in a fiber-optic port are 

misconnected and the Layer 1 mechanisms do not detect this misconnection. If the ports are connected 

correctly but the traffic is one way, UDLD does not detect the unidirectional link because the Layer 1 

mechanism, which is supposed to detect this condition, does not do so. In this case, the logical link is 

considered undetermined, and UDLD does not disable the port. 

When UDLD is in normal mode, if one of the fiber strands in a pair is disconnected and autonegotiation 

is active, the link does not stay up because the Layer 1 mechanisms did not detect a physical problem 

with the link. In this case, UDLD does not take any action, and the logical link is considered 

undetermined. 

In aggressive mode, UDLD detects a unidirectional link by using the previous detection methods. UDLD 

in aggressive mode can also detect a unidirectional link on a point-to-point link on which no failure 

between the two devices is allowed. It can also detect a unidirectional link when one of these problems 

exists:

•

On fiber-optic or twisted-pair links, one of the ports cannot send or receive traffic.

•

On fiber-optic or twisted-pair links, one of the ports is down while the other is up.

•

One of the fiber strands in the cable is disconnected.

In these cases, UDLD disables the affected port.

In a point-to-point link, UDLD hello packets can be considered as a heart beat whose presence 

guarantees the health of the link. Conversely, the loss of the heart beat means that the link must be shut 

down if it is not possible to re-establish a bidirectional link. 

If both fiber strands in a cable are working normally from a Layer 1 perspective, UDLD in aggressive 

mode detects whether those fiber strands are connected correctly and whether traffic is flowing 

bidirectionally between the correct neighbors. This check cannot be performed by autonegotiation 

because autonegotiation operates at Layer 1.

Methods to Detect Unidirectional Links

UDLD operates by using two mechanisms: 

•

Neighbor database maintenance

UDLD learns about other UDLD-capable neighbors by periodically sending a hello packet (also 

called an advertisement or probe) on every active port to keep each device informed about its 

neighbors. 

When the switch receives a hello message, it caches the information until the age time (hold time or 

time-to-live) expires. If the switch receives a new hello message before an older cache entry ages, 

the switch replaces the older entry with the new one.

Whenever a port is disabled and UDLD is running, whenever UDLD is disabled on a port, or 

whenever the switch is reset, UDLD clears all existing cache entries for the ports affected by the 

configuration change. UDLD sends at least one message to inform the neighbors to flush the part of 

their caches affected by the status change. The message is intended to keep the caches synchronized.

Page 426
Image 426
Open full-size image

2960 specifications

Cisco Systems 2960 series switches are a prominent solution in the networking landscape, known for their reliability, scalability, and feature-rich offerings. Ideal for small to medium-sized enterprises, these switches provide a robust foundation for network infrastructure, ensuring optimal performance and connectivity.

One of the standout features of the Cisco 2960 series is its Layer 2 switching capabilities. The switches support multiple VLANs (Virtual Local Area Networks), allowing network administrators to segment traffic efficiently and enhance security protocols. This is crucial in modern networks where managing traffic and isolating sensitive information is a priority.

The Cisco 2960 series also incorporates advanced Quality of Service (QoS) features, enabling the prioritization of critical applications and services. This functionality ensures that time-sensitive data, such as voice and video traffic, maintains a high quality of service even in congested networks. With support for IEEE 802.1p and DSCP marking, administrators can fine-tune their network performance to meet specific organizational needs.

Power over Ethernet (PoE) is another significant characteristic of the Cisco 2960 series. This feature allows switches to deliver electrical power alongside data over Ethernet cables to devices such as IP phones, wireless access points, and surveillance cameras. With PoE, organizations can reduce clutter from power cables and increase deployment flexibility for various devices.

In terms of security, the Cisco 2960 series is equipped with a range of integrated security features. The switch supports port security, 802.1X authentication, and Access Control Lists (ACLs), providing robust defenses against unauthorized access and potential network vulnerabilities. These security measures are essential for protecting sensitive data and ensuring compliance with industry regulations.

Moreover, the Cisco 2960 series offers enhanced network management capabilities with Cisco's Intelligent Network Services. This includes support for Simple Network Management Protocol (SNMP), Cisco Prime, and Embedded Event Manager (EEM), allowing for efficient monitoring, troubleshooting, and policy enforcement across the network.

Additionally, the Cisco 2960 switches provide various models and configurations, catering to different networking needs. Options include models with varying port densities, uplink configurations, and stacking capabilities, making it easy for organizations to choose solutions that align perfectly with their requirements.

In summary, the Cisco 2960 series is a versatile and essential component of modern networking environments. Its advanced features, including Layer 2 support, QoS, PoE, robust security, and diverse management tools, make it an excellent choice for organizations looking to build a strong and secure network infrastructure.