2-194
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
errdisable detect cause
Command Default Detection is enabled for all causes. All causes, except for per-VLAN error disabling, are configured to
shut down the entire port.
Command Modes Global configuration
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, voice aware 802.1x security, and port-security features, 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:
Switch(config)# errdisable detect cause bpduguard shutdown vlan
This command shows how to globally configure voice aware 802.1x security for per-VLAN error
disable:
Switch(config)# errdisable detect cause security-violation shutdown vlan
You can verify your setting by entering the show errdisable detect privileged EXEC command.
Related Commands
Release Modification
12.2(53)SE2 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.