The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
To enable error-disable (err-disabled) detection in an application, use the errdisable detect cause command. To disable error disable detection, use the no form of this command.
errdisable detect cause { all | link-flap | loopback }
no errdisable detect cause { all | link-flap | loopback }
all |
Enables error detection on all cases. |
link-flap |
Enables error disable detection on linkstate-flapping. |
loopback |
Enables error disable detection on loopback. |
Enabled
Global configuration mode
Release |
Modification |
---|---|
4.2(1)N1(1) |
This command was introduced. |
When error disable detection is enabled and a cause is detected on an interface, the interface is placed in an err-disabled state, which is an operational state that is similar to the link-down state.
This example shows how to enable the err-disabled detection on linkstate-flapping:
switch(config)# errdisable detect cause link-flap switch(config)#
Command |
Description |
---|---|
errdisable recovery |
Configures recovery from the err-disabled state. |
show interface status err-disabled |
Displays the interface error disabled state. |
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 }
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. |
None
Global configuration mode
Release |
Modification |
---|---|
4.2(1)N1(1) |
This command was introduced. |
When error disable recovery is enabled, the interface automatically recovers from the err-disabled state, and the device retries bringing the interface up.
This example shows how to enable error disable recovery from linkstate-flapping:
switch(config)# errdisable recovery cause link-flap switch(config)#
Command |
Description |
---|---|
errdisable detect cause |
Enables the error disabled (err-disabled) detection. |
show interface status err-disabled |
Displays the interface error disabled state. |
To configure the recovery time interval to bring the interface out of the error-disabled (err-disabled) state, use the errdisable recovery interval command. To revert to the defaults, use the no form of this command.
errdisable recovery interval time
no errdisable recovery interval
time |
Error disable recovery time interval. The range is from 30 to 65535 seconds. |
Disabled
Global configuration mode
Release |
Modification |
---|---|
4.2(1)N1(1) |
This command was introduced. |
When error disable recovery is enabled, the interface automatically recovers from the err-disabled state, and the device retries bringing the interface up.
The device waits 300 seconds to retry.
This example shows how to enable error disable recovery time interval to 100 seconds:
switch(config)# errdisable recovery interval 100 switch(config)#
Command |
Description |
---|---|
errdisable recovery cause |
Enables an error disabled recovery on an interface. |
show interface status err-disabled |
Displays the interface error disabled state. |