Skip to content

UDLD

Unidirectional Link Detection (UDLD) configuration manages global UDLD behavior on NX-OS devices. UDLD detects and disables unidirectional links caused by fiber or cable faults. Settings include aggressive mode, which automatically error-disables ports with unidirectional links, and the message interval that controls how frequently UDLD probes are sent.

Diagram
NameTypeConstraintMandatoryDefault Value
udldClass[udld]No

NameTypeConstraintMandatoryDefault Value
aggressiveBooleantrue, falseNo
message_timeIntegermin: 7, max: 90No

Example 1: UDLD in normal mode with custom message interval

nxos:
devices:
- name: LEAF1
configuration:
feature:
udld: true
udld:
aggressive: false
message_time: 15

Example 2: UDLD in aggressive mode for automatic link error detection

nxos:
devices:
- name: LEAF1
configuration:
feature:
udld: true
udld:
aggressive: true
message_time: 7