Specifications
2-68
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
errdisable recovery
Command History
Usage Guidelines A cause (bpduguard, dtp-flap, gbic-invalid, l2ptguard, link-flap, pagp-flap, psecure-violation, and
udld) is defined as the reason why the error-disabled state occurred. When a cause is detected on an
interface, the interface is placed in error-disabled state, an operational state similar to link-down state.
If you do not enable errdisable recovery for the cause, the interface stays in error-disabled state until you
enter a shutdown and no shutdown interface configuration command. If you enable the recovery for a
cause, the interface is brought out of the error-disabled state and allowed to retry the operation again
when all the causes have timed out.
Otherwise, you must enter the shutdown then no shutdown commands to manually recover an interface
from the error-disabled state.
Examples This example shows how to enable the recovery timer for the BPDU guard error-disable cause:
Switch(config)# errdisable recovery cause bpduguard
This example shows how to set the timer to 500 seconds:
Switch(config)# errdisable recovery interval 500
You can verify your settings by entering the show errdisable recovery privileged EXEC command.
Related Commands
Release Modification
12.1(4)EA1 This command was first introduced.
12.1(8)EA1 The channel-misconfig keyword was added. The rootguard keyword was
removed.
12.1(9)EA1 The gbic-invalid, l2ptguard, and psecure-violation keywords were added.
12.1(6)EA2 This command was first introduced.
12.1(9)EA1 The gbic-invalid and psecure-violation keywords were added. The
rootguard keyword was removed.
Command Description
show errdisable recovery Displays errdisable recovery timer information.
show interfaces status Displays interface status.