Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
set udld
2-770
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-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—Disabled on all Ethernet 10/100 and
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 syslog message to notify you and
the network management application (through SNMP) that the port on which the misconfiguration has
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-port enable (or disable)
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 enabled on Ethernet
fiber or copper interfaces.
Examples This example shows how to enable the UDLD message display for port 1 on module 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 the module.