Configure Error-Disable Automatic Recovery
Configure Error-Disable Automatic Recovery
The Error-Disable error detection mechanism enables specified functions to close a port. To quickly recover the port so that it can continue to forward packets, an automatic recovery mechanism is provided. With the mechanism, the port is automatically re- enabled after a specified interval.
Table 11-3 Configuring Error-Disable Automatic Recovery
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Configure Error-Disable automatic recovery.
|
errdisable recovery cause { all | bpduguard | dai | dhcp-snooping | eips-udld | l2pt | link-flap | loopback- detect | oamport-security | storm-control | transceiver-power-low | ulfd }
|
Mandatory.
By default, a port cannot be automatically enabled, and the Error-Disabled status set by the listed functions cannot be automatically cleared. However, by default, a port can be automatically enabled and the Error- Disabled status can be automatically cleared if its status is set by the Link- Flap function.
|
Configure the Interval for Error-Disable Automatic Discovery
You can configure the interval for a port to automatically recover normal after it port is closed by the Error-Disable error detection mechanism.
Table 11-4 Configuring the Interval for Error-Disable Automatic Discovery
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Configure the interval for Error-Disable automatic discovery.
|
errdisable recovery interval interval-value
|
Mandatory.
By default, the interval at which a port is enabled and its Error-Disabled status is cleared is 300 seconds.
|