Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set udld
2-673
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
22
set udld
To enable or disable the UDLD information display on specified ports or globally on all ports, use the
set udld command.
set udld enable | disable [mod/port]
Syntax Description
Defaults The defaults are as follows:
UDLD global enable state—Globally disabled.
UDLD per-port enable state for fiber-optic media—Enabled on all Ethernet fiber-optic ports.
UDLD per-port enable state for twisted-pair (copper) media—Dis able d o n all Eth ern et 10/10 0 an d
1000BASE-TX ports.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command is not supported by the NAM.
Whenever a unidirectional connection is detected, UDLD displays a sysl og messa ge t o not ify y ou and
the network management application (through SNMP) that the port on whi ch t he misc onfigurati on ha s
been detected has been disabled.
If you enter the global set udld enable or disable command, UDLD is globally configured. If UDLD is
globally disabled, UDLD is automatically disabled on all interfaces, but the per-por t en ab le (or di sable)
configuration is not changed. If UDLD is globally enabled, whether or not UDLD is running on an
interface depends on its per-port configuration.
UDLD is supported on both Ethernet fiber and copper interfaces. UDLD can only be enabl ed on Ethernet
fiber or copper interfaces.
Examples This example shows how to enable the UDLD message display f or por t 1 on m odule 2:
Console> (enable) set udld enable 2/1
UDLD enabled on port 2/1.
Warning:UniDirectional Link Detection
should be enabled only on ports not connected to hubs,
media converters or similar devices.
Console> (enable)
enable Enables the UDLD information display.
disable Disables the UDLD information display.
mod/port (Optional) Number of the module and port on t he mo dul e.