Configuring UDLD Configuring UDLD
page 17-6 OmniSwitch AOS Release 6 Network Configuration Guide September 2009
Configuring UDLD
This section describes how to use Command Line Interface (CLI) commands to do the following:
• Enable and disable UDLD on a switch or port (see “Enabling and Disabling UDLD” on page 17-6).
• Configure the operational mode (see “Configuring the Operational Mode” on page 17-7).
• Configure the probe-message advertisement timer (see “Configuring the Probe-Timer” on page 17-7).
• Configure the echo-based detection timer (see “Configuring the Echo-Wait-Timer” on page 17-7).
• Clear the UDLD statistics on a switch or port (see “Clearing UDLD Statistics” on page 17-8).
• Recover a port from UDLD shutdown (see ““Recovering a Port from UDLD Shutdown” on page 17-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
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
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
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