Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-193
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
errdisable detect cause
Use the errdisable detect cause global configuration command on the switch stack or on a standalone 
switch 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 | arp-inspection | bpduguard | dhcp-rate-limit | dtp-flap | 
gbic-invalid | inline-power | l2ptguard |link-flap loopback pagp-flap security-violation 
shutdown vlan 
sfp-config-mismatch}
no errdisable detect cause {all | arp-inspection | bpduguard | dhcp-rate-limit | dtp-flap | 
gbic-invalid inline-power | l2ptguard |link-flap | loopback pagp-flap security-violation 
shutdown vlan 
sfp-config-mismatch}
For the BPDU guard and port-security features, 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
all
Enable error detection for all error-disabled causes.
arp-inspection
Enable error detection for dynamic Address Resolution Protocol 
(ARP) inspection.
bpduguard shutdown vlan
Enable per-VLAN error-disable for BPDU guard.
dhcp-rate-limit
Enable error detection for DHCP snooping.
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. 
inline-power
Enable error detection for the Power over Ethernet (PoE) 
error-disabled cause. 
This keyword is supported only on switches with PoE ports.
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.
security-violation shutdown 
vlan
Enable voice aware 802.1x security.
sfp-config-mismatch
Enable error detection on an SFP configuration mismatch.