Enabling Udld On An Interface; Resetting An Interface Disabled By Udld - Cisco WS-C3560-48PS-S Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C3560-48PS-S:
Table of Contents

Advertisement

Configuring UDLD

Enabling UDLD on an Interface

Beginning in privileged EXEC mode, follow these steps either to enable UDLD in the aggressive or
normal mode or to disable UDLD on a port:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
udld port {aggressive | disable}
Step 4
end
Step 5
show udld interface-id
Step 6
copy running-config startup-config

Resetting an Interface Disabled by UDLD

Beginning in privileged EXEC mode, follow these steps to reset all ports disabled by UDLD:
Command
Step 1
udld reset
Step 2
show udld
You can also bring up the port by using these commands:
Catalyst 3560 Switch Software Configuration Guide
22-6
The shutdown interface configuration command followed by the no shutdown interface
configuration command restarts the disabled port.
The no udld {aggressive | enable} global configuration command followed by the udld
{aggressive | enable} global configuration command re-enables the disabled ports.
The udld port disable interface configuration command followed by the udld port [aggressive]
interface configuration command re-enables the disabled fiber-optic port.
The errdisable recovery cause udld global configuration command enables the timer to
automatically recover from the UDLD error-disabled state, and the errdisable recovery interval
interval global configuration command specifies the time to recover from the UDLD error-disabled
state.
Purpose
Enter global configuration mode.
Specify the port to be enabled for UDLD, and enter interface
configuration mode.
UDLD is disabled by default.
udld port—Enables UDLD in normal mode on the specified port.
udld port aggressive—Enables UDLD in aggressive mode on the
specified port.
udld port disable—Disables UDLD on the specified fiber-optic
port. This command overrides the UDLD global setting and is
available only on fiber-optic ports.
For more information about aggressive and normal modes, see the
"Modes of Operation" section on page
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Reset all ports disabled by UDLD.
Verify your entries.
Chapter 22
Configuring UDLD
22-1.
78-16156-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents