Unidirectional Link Detection


Unidirectional Link Detection is a data link layer protocol from Cisco Systems to monitor the physical configuration of the cables and detect unidirectional links. UDLD complements the Spanning Tree Protocol which is used to eliminate switching loops.

Description

If two devices, A and B, are connected via a pair of optical fibers, one used for sending from A to B and other for sending from B to A, the link is bidirectional. If one of these fibers is broken, the link has become one-way or unidirectional. The goal of the UDLD protocol is to detect a broken bidirectional link.
For each device and for each port, a UDLD packet is sent to the port it links to. The packet contains sender identity information, and expected receiver identity information. Each port checks that the UDLD packets it receives contain the identifiers of his own device and port.
UDLD is a Cisco-proprietary protocol but HP, Extreme Networks, and AVAYA all have a similar feature calling it by a different name. HP calls theirs Device Link Detection Protocol. Extreme Networks call it Extreme Link Status Monitoring and AVAYA calls theirs, Link-state Tracking.
Similar functionality in a standardized form is provided as part of the Ethernet OAM protocol that is defined as part of the Ethernet in the First Mile changes to 802.3. D-Link has their DULD feature built on top of Ethernet OAM function. Brocade devices running Ironware support a proprietary form of UDLD.
The use of UDLD over 10GbE is augmented, as per 802.3ae/D3.2 standard, when a fault is detected in the physical link: