Configuring Ethernet and Fast Ethernet Ports
Configuring a Timeout Period for Ports in errdisable State
A port is in errdisable state if it is enabled in NVRAM, but disabled at runtime by any process. For
example, if UniDirectional Link Detection (UDLD) detects a unidirectional link, the port shuts down at
runtime. However, because the NVRAM configuration for the port is enabled (you have not disabled the
port), the port status is shown as errdisable.
After a port goes into errdisable state, the port has to be manually reenabled. The errdisable timeout
feature allows you to configure a timeout period for ports in errdisable state; the ports are reenabled
automatically eliminating the need to manually reenable all the errdisabled ports.
A port enters errdisable state for the following reasons (these appear as configuration options with the
set errdisable-timeout enable command):
•
•
•
•
•
You can enable or disable errdisable timeout for each of the above listed reasons. Ports that are in
errdisable state because of reasons other than the first four reasons have an errdisable cause of "other."
If you specify "other," all ports that have been put in errdisable state because of causes other than the
first four reasons are enabled for errdisable timeout.
This feature is disabled by default. The default interval for enabling a port is 300 seconds. The allowable
interval range is 30 to 86400 seconds (30 seconds to 24 hours).
This example shows how to enable errdisable the timeout for BPDU guard causes:
Console> (enable) set errdisable-timeout enable bpdu-guard
Successfully enabled errdisable-timeout for bpdu-guard.
Console> (enable)
This example shows how to set the errdisable timeout interval to 450 seconds:
Console> (enable) set errdisable-timeout interval 450
Successfully set errdisable timeout to 450 seconds.
Console>(enable)
This example shows how to display the errdisable timeout configuration:
Console> (enable) show errdisable-timeout
ErrDisable Reason
------------------- ------------
bpdu-guard
channel-misconfig
duplex-mismatch
udld
other
Interval: 300 seconds
Ports that will be enabled at the next timeout:
Port
----- -----------------
3/1
3/8
6/5
7/24 duplex-mismatch
Console> (enable)
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
4-6
Channel misconfiguration
Duplex mismatch
BPDU port-guard
UDLD
Other
Timeout Status
Enable
Disable
Enable
Enable
Disable
ErrDisable Reason
udld
bpdu-guard
udld
Chapter 4
Configuring Ethernet and Fast Ethernet Switching
78-12647-02