Cisco Catalyst 2960 Command Reference Manual page 129

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 2
Catalyst 2960 Switch Cisco IOS Commands
Command History
Release
12.2(25)FX
12.2(37)SE
Usage Guidelines
A cause (link-flap, dhcp-rate-limit, and so forth) is the reason why the error-disabled state occurred.
When a cause is detected on a port, the port 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 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 port 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 change the port from the error-disabled
state.
Examples
This example shows how to enable error-disable 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
You can verify your settings by entering the show errdisable detect privileged EXEC command.
Related Commands
Command
show errdisable detect
show interfaces
clear errdisable interface
OL-8604-03
Modification
This command was introduced.
The Per-VLAN error-detection feature was added. The inline-power and
sfp-config-mismatch keywords were added.
Description
Displays error-disabled detection information.
status err-disabled
Displays interface status or a list of interfaces in the
error-disabled state.
Clears the error-disabled state from a port or VLAN that
was error disabled by the per-VLAN error disable feature.
errdisable detect cause
Catalyst 2960 Switch Command Reference
2-103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents