-83
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
udld port
For UDLD to peer with a neighbor on a port that has an Ethernet Virtual Connection (EVC) EFP service
instance configured, you need to enter the l2 protocol peer udld service-instance configuration
command on the service instance.
If the switch software detects a small form-factor pluggable (SFP) module change and the port changes
from fiber optic to nonfiber optic or the reverse, all configurations are maintained.
You can use these commands to reset an interface shut down by UDLD:
• The udld reset privileged EXEC command to reset all interfaces shut down by UDLD.
• The shutdown and no shutdown interface configuration commands.
• The no udld enable global configuration command followed by the udld {aggressive | enable}
global configuration command to re-enable UDLD globally.
• The no udld port interface configuration command followed by the udld port or udld port
aggressive interface configuration command to re-enable UDLD on the specified interface.
• The errdisable recovery cause udld and errdisable recovery interval interval global
configuration commands to automatically recover from the UDLD error-disabled state.
You can verify your settings by entering the show running-config or the show udld interface privileged
EXEC command.
Examples This example shows how to enable UDLD on an port:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# udld port
This example shows how to configure UDLD peering on an EFP service instance:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# udld port
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan none
Switch(config-if)# service instance 1 Ethernet
Switch(config-if-srv)# encapsulation untagged
Switch(config-if-srv)# l2protocol peer udld
Switch(config-if-srv)# bridge-domain 10
Switch(config-if-srv)# end
This example shows how to disable UDLD on a fiber-optic interface despite the setting of the udld
global configuration command:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# no udld port
Related Commands Command Description
show running-config Displays the operating configuration.
show udld Displays UDLD administrative and operational status for all ports or
the specified port.
udld Enables aggressive or normal mode in UDLD or sets the configurable
message timer time.
udld reset Resets all interfaces shut down by UDLD and permits traffic to again
pass through.