show errdisable recovery
Shows which err-disable causes recover automatically, the recovery timer, and ports waiting to recover.
Written by a working field network engineer · CCNA, Security+, CySA+
By default an err-disabled port stays down until someone bounces it. This shows which causes are set to recover automatically, how long the timer is, and any port currently counting down.
Example output
SW1#show errdisable recovery
ErrDisable Reason Timer Status
----------------- --------------
arp-inspection Disabled
bpduguard Disabled
channel-misconfig (STP) Disabled
dhcp-rate-limit Disabled
dtp-flap Disabled
gbic-invalid Disabled
inline-power Disabled
link-flap Disabled
mac-limit Disabled
loopback Disabled
pagp-flap Disabled
port-mode-failure Disabled
pppoe-ia-rate-limit Disabled
psecure-violation Disabled
security-violation Disabled
sfp-config-mismatch Disabled
small-frame Disabled
storm-control Disabled
udld Disabled
vmps Disabled
psp Disabled
Timer interval: 300 seconds
Interfaces that will be enabled at the next timeout:
Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device. The list of causes varies a little between platforms and IOS releases. Nothing is listed under the last heading because no cause is set to recover, so an err-disabled port such as Fa0/2 waits for someone to bounce it.
Useful variants
show errdisable detect
What each column or field means
| Field | Meaning |
|---|---|
ErrDisable Reason / Timer Status | Each cause and whether automatic recovery is Enabled or Disabled for it. |
Timer interval | Seconds before an err-disabled port is re-enabled. 300 by default; change it with errdisable recovery interval. |
Interfaces that will be enabled | A table of ports waiting to recover, with the cause and the seconds left. Empty when no err-disabled port has recovery enabled for its cause. |
When it doesn’t look right
A port recovers, then goes err-disabled again every five minutes.
Automatic recovery is hiding a cause that is still there. Find and fix it rather than lengthening the timer.
No causes are enabled.
That is the default. Enable the ones you want, for example errdisable recovery cause psecure-violation.
Related commands
Try it yourself
- Port Security Violation Action (Pro)
- Free lab on this topic: Switchport Port Security
- Or build the example network in the free Sandbox
Learn it in the CCNA path
- Recover err-disabled ports automatically (5. Security Fundamentals)
Topic
Port Security — Limit which MAC addresses an access port accepts, choose a violation action, learn sticky addresses and recover err-disabled ports.