udld

Syntax

udld [disable]

no udld

Description

Enables UDLD support on a physical interface . UDLD is disabled by default. UDLD is configured on a per-port basis and must be enabled at both ends of the link.

UDLD runs only on physical interfaces. LAGs, tunnels, and the like are not supported. However, UDLD can be configured individually on each port of a LAG or trunk group. Configuring UDLD on a trunk group's primary port enables UDLD on that port only.

The no form of this command disables UDLD support and resets all configuration values to their default settings.

Command context

config-if

Parameters

disable

Disables UDLD on the interface but retains all UDLD configuration settings.

Authority

Administrators

Examples

Enabling UDLD on interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# udld

Disabling UDLD on interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# no udld