2-59
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Switch Cisco IOS Commands
errdisable detect cause
errdisable detect cause
Use the
errdisable detect cause
global configuration command to enable error-disabled detection for a
specific cause or all causes. Use the
no
form of this command to disable the error-disabled detection
feature.
errdisable detect cause
{
all
|
bpduguard
|
dtp-flap
|
gbic-invalid
|
l2ptguard
|
link-flap
|
loopback
|
pagp-flap
|
sfp-config-mismatch | small-frame
}
no errdisable detect cause
{
all
|
bpduguard
|
dtp-flap
|
gbic-invalid
|
l2ptguard
|
link-flap
|
loopback
|
pagp-flap
|
sfp-config-mismatch | small-frame
}
For the BPDU guard feature, you can use this command to globally configure the switch to shut down
just the offending VLAN on the port when a violation occurs, instead of shutting down the entire port.
When the per-VLAN error-disable feature is turned off and a BPDU guard violation occurs, the entire
port is disabled. Use the
no
form of this command to disable the per-VLAN error-disable feature.
errdisable detect cause bpduguard shutdown vlan
no errdisable detect cause bpduguard shutdown vlan
Syntax Description
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
all
Enable error detection for all error-disabled causes.
bpduguard shutdown vlan
Enable per-VLAN error-disable for BPDU guard.
dtp-flap
Enable error detection for the Dynamic Trunking Protocol (DTP)
flapping.
gbic-invalid
Enable error detection for an invalid Gigabit Interface Converter
(GBIC) module.
Note
This error refers to an invalid small form-factor pluggable
(SFP) module.
l2ptguard
Enable error detection for a Layer 2 protocol-tunnel error-disabled
cause.
link-flap
Enable error detection for link-state flapping.
loopback
Enable error detection for detected loopbacks.
pagp-flap
Enable error detection for the Port Aggregation Protocol (PAgP) flap
error-disabled cause.
sfp-config-mismatch
Enable error detection on an SFP configuration mismatch.
small-frame
See the
errdisable detect cause small-frame
command.