Feature History for UDLD

This table provides release and related information for features explained in this module.

These features are available on all releases subsequent to the one they were introduced in, unless noted otherwise.

Release

Feature Name and Description

Supported Platform

Cisco IOS XE 17.18.1

UniDirectional Link Detection (UDLD) is a Layer 2 protocol that enables devices connected through fiber-optic or twisted-pair Ethernet cables to monitor the physical configuration of the cables.

Cisco C9350 Series Smart Switches

Cisco C9610 Series Smart Switches

UDLD commands and their purposes

UDLD commands are used to monitor and verify the integrity of connections over network ports. Below is a list of UDLD commands with their specific purposes:

Command Purpose

show udld [ interface-id | neighbors]

Displays the UDLD status for the specified port or for all ports.

show udld fast-hello [ interface-id]

Displays fast-hello information for the specified port or for all ports.

Console error messages for fast UDLD

Fast UDLD (Unidirectional Link Detection) generates error messages in the console when it detects a link failure. The type of error and the resulting action depend on whether udld fast-hello error-reporting is configured. Below are the possible error messages:

  • If a unidirectional link is detected and the link is err-disabled by UDLD, the following message is displayed

    %UDLD-4-UDLD_PORT_DISABLED: UDLD disabled interface Hu1/0/10, unidirectional link detected

  • If udld fast-hello error-reporting is configured, UDLD reports the link failure without err-disabling the affected port. The following message is displayed instead

    %UDLD-SP-4-UDLD_PORT_FAILURE: UDLD failure reported per user request, interface HU1/0/10, fast udld unidirectional link detected

  • To clear the UDLD port state in either case, use the udld reset command. This command resets the port and resolves the error condition if the issue is fixed.