home home
Other Sites
  • NETGEAR Enterprise Support
  • MyNETGEAR
  • NETGEAR
Looking for NETGEAR Home support?
  • Wireless Access Points
  • Switches
  • Security
  • Management
  • zzHerettoTest
  • English
  • Wireless Access Points
  • Switches
  • Security
  • Management
  • zzHerettoTest
  • English
  • NETGEAR Enterprise Support
  • MyNETGEAR
  • NETGEAR
Looking for NETGEAR Home support?

Switches

Switches
  • Fully Managed Switches
    • M4500
      • CLI Manual
        • Introduction
        • Quick Startup
        • Console and Telnet Administration Interface
        • Command Line Interface Structure and Mode-based CLI
        • Switching Commands
          • System information and statistics commands
          • Device configuration commands
          • Provisioning (IEEE 802.1p) Commands
          • Management Commands
          • Spanning Tree Protocol Commands
          • System Log Commands
          • Email Alert and Mail Server Commands
          • Script Management Commands
          • User Account Management Commands
          • Port-based Network Access Control Commands
          • AAA Commands
          • RADIUS Commands
          • TACACS+ Commands
          • Security Commands
          • LLDP (Link Layer Discovery Protocol) Commands
          • System Utilities
          • DHCP Snooping Commands
          • IP Source Guard (ISG) Commands
          • Dynamic ARP Instpection (DAI) Command
          • Differenciated Service Commands
          • ACL Commands
          • IPv6 ACL Commands
          • CoS (Class of Service) Command
          • iSCSI Optimization Commands
          • Domain Name Server Client Commands
          • Unidirectional Link Detection Commands
          • Multi-chassis Link Aggregation Commands
          • Control Plane Policing Commands
          • VXLAN and RIOT Commands
          • Interface Error Disable and Auto Recovery
          • Role-Based Access Control
          • Application Commands
          • Precision Time Protocol Transparant Clock Commands
        • Routing Commands
        • IP Multicast Commands
        • IPv6 Commands
        • Data Center Bridging Commands
        • Fluentd Commands
        • SDVoE Commands
        • Serviceability Packet Tracing Commands
        • Troubleshooting
        • Revision History
        • Support and Legal Information
Home Switches Fully Managed Switches M4500 CLI Manual Switching Commands
Share this page
  • LinkedIn
  • X
  • Facebook
  • Email

Unidirectional Link Detection Commands

Use these M4500 CLI commands to configure Unidirectional Link Detection (UDLD) globally and per port, set timers, and display UDLD status.

This section describes the commands you use to configure and display Unidirectional Link Detection (UDLD). The purpose of the UDLD feature is to detect and avoid unidirectional links. A unidirectional link is a forwarding anomaly in a Layer 2 communication channel in which a bi-directional link stops passing traffic in one direction.

udld enable (Global Config)

Use this command to enable UDLD globally on the switch.

Default Disable
Format udld enable
Mode Global Config

no udld enable (Global Config)

Use this command to disable UDLD globally on the switch.

Format no udld enable
Mode Global Config

udld message time

Use this command to configure the interval value (in seconds) between UDLD probe messages on ports that are in the advertisement phase.

Default 15
Format udld message time <7-90>
Mode Global Config

no udld message time

For the interval between UDLD probe messages on ports that are in the advertisement phase, use this command to restore the interval value to the default value.

Format no udld message time
Mode Global Config

udld timeout interval

Use this command to configure the time interval value (in seconds) after which the UDLD link is considered to be unidirectional.

Default 5
Format udld timeout interval <5-60>
Mode Global Config

no udld timeout interval

Use this command to restore the time interval value after which the UDLD link is considered to be unidirectional to the default value.

Format no udld timeout interval
Mode Global Config

udld enable (Interface Config)

Use this command to enable UDLD on the specified interface.

Default Disable
Format udld enable
Mode Interface Config

no udld enable (Interface Config)

Use this command to disable UDLD on the specified interface.

Format no udld enable
Mode Interface Config

udld port

Use this command to select the UDLD mode operating on this interface.

Default normal
Format udld port [aggressive]
Mode Interface Config

udld reset

Use this command to reset all interfaces that have been shutdown by UDLD.

Format udld reset
Mode Privileged EXEC

show udld

Use this command to display the global settings of UDLD. If you specify a slot and port, the command displays the UDLD setting for the specified slot and port.

Format show udld [slot/port | all]
Mode

Privileged EXEC

User EXEC

Display Message for the global settings

Parameter Definition
Admin Mode The global administrative mode of UDLD.
Message Interval The time period (in seconds) between the transmission of UDLD probe packets.
Timeout Interval The time period (in seconds) between the decision that the link is unidirectional.

Example: The following example shows the CLI display output for the command show udld.

CODE
(M4500-32C) #show udld
Admin Mode..................................... Enabled
Message Interval............................... 15
Timeout Interval............................... 5

Display Message for a specified slot and port

Parameter Definition
Port The identifying port of the interface.
Admin Mode The administrative mode of UDLD configured on this interface. The mode is either enabled or disabled.
UDLD Mode The UDLD mode configured on this interface. The mode is either normal or aggressive.
UDLD Status

The status of the link as determined by UDLD. The options are:

Undetermined – UDLD has not collected information to determine the

state of the link.

Not applicable – UDLD is disabled, either globally or on the port.

Shutdown – UDLD has detected a unidirectional link and shutdown the

port. That is, the port is in an errDisabled state.

Bidirectional – UDLD has detected a bidirectional link.

Undetermined (Link Down) – The port would transition into this state

when the port link physically goes down due to any reasons other than the port has been put into D-Disable mode by the UDLD protocol on switch.

Example: The following example shows the CLI display output for the command show udld 0/3.

(M4500-32C) #show udld 0/3

CODE
Port         Admin Mode     UDLD Mode      UDLD Status
-------      ----------     -----------     --------------
0/3          Enabled        Aggressive      Bidirectional

 Host device ID: NTGROZ534000A
 Host port ID: 0/3

 Echo entry 1
 --------------
 Time-To-Live: 39
 Neighbor echo 1 device: NTGROZ5200014
 Neighbor echo 1 port: 0/3

 Message Interval: 15
 Timeout Interval: 5
 Neighbor Device Name: SW2
M4500

Last updated: November 16, 2026

Previous Domain Name Server Client Commands Next Multi-chassis Link Aggregation Commands
In this Topic
  • Unidirectional Link Detection Commands
    • udld enable (Global Config)
    • no udld enable (Global Config)
    • udld message time
    • no udld message time
    • udld timeout interval
    • no udld timeout interval
    • udld enable (Interface Config)
    • no udld enable (Interface Config)
    • udld port
    • udld reset
    • show udld
Product Documentation Product Documentation
Check out our facebook!
©1996-2026 NETGEAR®
Privacy Policy Ad & Cookie Policy My Privacy Choices Terms & Conditions