Configuring UDLD Configuring UDLD
page 38-6 OmniSwitch 6800/6850/9000 Network Configuration Guide March 2008
Configuring UDLD
This section describes how to use Command Line Interface (CLI) commands for enabling and disabling
UDLD on a switch or port (see “Enabling and Disabling UDLD” on page 38-6), configuring the opera-
tional mode (see “Configuring mode” on page 38-7), configuring and resetting probe-message advertise-
ment timer (see “Configuring probe-timer” on page 38-7), configuring and resetting echo-based detection
timer (see “Configuring echo-wait-timer” on page 38-7), clearing the UDLD statistics on a switch or port
(see “Clearing UDLD Statistics” on page 38-8), and recovering a port from UDLD shutdown (see
““Recovering a port from UDLD shutdown” on page 38-8).
Note. See the “UDLD Commands” chapter in the OmniSwitch CLI Reference Guide for complete docu-
mentation of UDLD CLI commands.
Enabling and Disabling UDLD
The following subsections describe how to enable and disable UDLD on a switch or a port.
Enabling UDLD on a switch
By default, UDLD is disabled on all switch ports. To enable UDLD on a switch, use the udld command.
For example, the following command enables UDLD on a switch:
-> udld enable
Disabling UDLD on a switch
To disable UDLD on a switch, use the udld command with the disable parameter. For example, the
following command disables UDLD on a switch:
-> udld disable
Enabling UDLD on a port
By default, UDLD is disabled on all switch ports. To enable UDLD on a port, use the udld port
command. For example, the following command enables UDLD on port 3 of slot 1:
-> udld port 1/3 enable
To enable UDLD on multiple ports, specify a range of ports. For example:
-> udld port 1/6-10 enable
Disabling UDLD on a port
To disable UDLD on a port, use the udld port command with the disable parameter. For example, the
following command disables UDLD on a range of ports:
-> udld port 5/21-24 disable