2-60
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
errdisable detect cause
Command History
Usage Guidelines
A cause (
link-flap
,
dhcp-rate-limit
, and so forth) is the reason for the error-disabled state. When a
cause is detected on an interface, the interface is placed in an error-disabled state, an operational state
that is similar to a link-down state.
When a port is error-disabled, it is effectively shut down, and no traffic is sent or received on the port. For the
BPDU guard feature, you can configure the switch to shut down just the offending VLAN on the port
when a violation occurs, instead of shutting down the entire port.
If you set a recovery mechanism for the cause by entering the
errdisable recovery
global configuration
command for the cause, the interface is brought out of the error-disabled state and allowed to retry the
operation when all causes have timed out. If you do not set a recovery mechanism, you must enter the
shutdown
and then the
no shutdown
commands to manually recover an interface from the
error-disabled state.
Examples
This example shows how to enable error-disabled detection for the link-flap error-disabled cause:
Switch(config)#
errdisable detect cause link-flap
This command shows how to globally configure BPDU guard for per-VLAN error disable:
S
witch(config)#
errdisable detect cause bpduguard shutdown vlan
You can verify your setting by entering the
show errdisable detect
privileged EXEC command.
Related Commands
Release
Modification
12.2(46)EY
This command was introduced.
Command
Description
show errdisable detect
Displays error-disabled detection information.
show interfaces
status err-disabled
Displays interface status or a list of interfaces in the
error-disabled state.
clear errdisable interface
Clears the error-disabled state from a port or VLAN that
was error disabled by the per-VLAN error disable feature.