errdisable recovery cause
To configure the application to bring the interface out of the error-disabled (err-disabled) state and retry coming up, use the errdisable recovery cause command. To revert to the defaults, use the no form of this command.
errdisable recovery cause { all | bpduguard | failed-port-state | link-flap-recovery | pause-rate-limit | udld }
no errdisable recovery cause { all | bpduguard | failed-port-state | link-flap-recovery | pause-rate-limit | udld }
Syntax Description
all |
Enables a timer to recover from all causes. |
bpduguard |
Enables a timer to recover from bridge protocol data unit (BPDU) Guard error disable state. |
failed-port-state |
Enables a timer to recover from a Spanning Tree Protocol (STP) set port state failure. |
link-flap |
Enables a timer to recover from linkstate flapping. |
pause-rate-limit |
Enables a timer to recover from the pause rate limit error disabled state. |
udld |
Enables a timer to recover from the Unidirectional Link Detection (UDLD) error disabled state. |
Command Default
None
Command Modes
Global configuration mode
Command History
Release |
Modification |
---|---|
4.2(1)N1(1) |
This command was introduced. |
Usage Guidelines
When error disable recovery is enabled, the interface automatically recovers from the err-disabled state, and the device retries bringing the interface up.
Examples
This example shows how to enable error disable recovery from linkstate-flapping:
switch(config)# errdisable recovery cause link-flap
switch(config)#