Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Cisco Err-disable Deep Reference

Direct answer

Err-disabled is the state in which a Cisco switch has shut a port by itself because a protection feature detected a problem. The port stays down until re-enabled by hand or by a recovery timer.

When to use this

Use it whenever show interfaces reports "err-disabled", and when deciding whether automatic recovery is appropriate.

First 30 seconds

1. show interfaces status err-disabled — which port, which reason?

2. show logging around the event — details from the feature that acted.

3. Remove the cause (the attached switch, the extra device, the bad link).

4. shutdown then no shutdown on the port.

5. Comes back and drops every five minutes → recovery is on and the cause is still there.

Operational verification

feature detects its condition → port err-disabled, reason logged → reason read → cause removed → port re-enabled manually or by recovery timer → stays up

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Key commandshow interfaces status err-disabled
Scope / prerequisiteUse it whenever show interfaces reports "err-disabled", and when deciding whether automatic recovery is appropriate.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational verification Verify boundary
show interfaces status err-disabled
show errdisable recovery
show errdisable detect
show logging | include ERR_DISABLE|err-disable
show interfaces GigabitEthernet1/0/10

The first lists every err-disabled port with the reason. show errdisable recovery shows, per cause, whether automatic recovery is enabled, the interval, and for ports currently waiting the time left. show errdisable detect shows which causes are able to disable ports. The log gives the time of the event and the full message from the feature that triggered it.

Known-good: no ports are listed as err-disabled, and the log shows no repeated events for the same port.

Step 2 Failure boundaries & interpretation Narrow the fault
  • The port goes err-disabled again right after no shutdown. The cause is still there; go by the reason shown, not by the port.
  • The port comes back by itself and drops again every five minutes. Automatic recovery is enabled for a cause that has not been removed.
  • The reason is bpduguard. A switch or looped cable is attached to an access port.
  • The reason is psecure-violation. More MAC addresses than allowed, or a different device than the one recorded.
  • The reason is link-flap. The link went up and down several times within seconds: cable, connector, optic or the device at the other end.
  • The reason is udld. The link passes traffic in one direction only; check the fibre pair.
  • A port is down but not listed as err-disabled. It is administratively shut or has no link; err-disable is not involved.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

The order is always: read the cause, remove what triggered it, then re-enable. Bouncing the port first throws the information away, and the port goes down again if the cause remains. Automatic recovery is off by default.

Key checks
  • show interfaces status err-disabled — each port and its reason.
  • show errdisable recovery — per cause: automatic recovery on or off, interval, time left.
  • show errdisable detect — which causes can disable ports.
  • show logging | include ERR_DISABLE — the event, and the feature's own message just before it.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

Err-disabled is a state in which a Cisco switch has shut a port down by itself because a protection feature detected a problem on it. The port stays down — no link, no traffic — until it is re-enabled by hand or by an automatic recovery timer.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

An err-disabled port is the switch reporting a specific event: a BPDU on an access port, too many MAC addresses, a one-way link. The reason is recorded. Simply bouncing the port skips that information, and if the cause is still present the port goes down again — or worse, the protection is defeated for the moment it takes to trigger again.

ReferenceHow it works1 section · depth on demand

How it works

What happens. A feature such as BPDU Guard, port security or UDLD detects its condition and asks the switch to disable the port. The switch logs the event with the cause, takes the link down and turns the port LED amber. show interfaces reports the port as "down, line protocol is down (err-disabled)".

The state is local to the switch. The device at the other end only sees the link go down.

Three settings control it.

CommandPurpose
errdisable detect cause <cause>Whether a given cause may disable ports at all. On for all causes by default
errdisable recovery cause <cause>Whether ports disabled for that cause are re-enabled automatically. Off for all causes by default
errdisable recovery interval <seconds>How long to wait before the automatic attempt; 300 by default, minimum 30

Recovery.

  • *Manual:* shutdown followed by no shutdown on the interface.
  • *Automatic:* with recovery enabled for the cause, the switch re-enables the port after the interval. If the condition is still present, the port is disabled again and the cycle repeats.

Automatic recovery is useful where the cause normally goes away without intervention — a user unplugging the offending device — and no one is on site. It is a poor fit for causes that indicate a loop or a failing link, where a port that keeps returning keeps causing disruption.

The right order is always: read the cause, find and remove what triggered it, then re-enable the port.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Err-disable: why the switch shut the port

Err-disable is a protective shutdown. The configuration says the port is enabled, but the switch detected an error and disabled it to protect the rest of the network. Cisco's errdisable technote describes the state:

  • The port sends and receives nothing, its LED turns orange, and show interfaces status shows err-disabled.
  • A console or syslog message names the cause.
  • Recovery is manual (shutdown, then no shutdown) after fixing the root cause.
  • Alternatively, automatic recovery can be enabled per cause with errdisable recovery cause. It is off by default and retries every 300 seconds by default.

The recovery workflow

StepCommand
1. Find err-disabled portsshow interfaces status err-disabled
2. Find the causeshow logging, show errdisable recovery
3. Fix the root causeDepends on the cause (cabling, configuration, a loop)
4. Re-enableshutdown / no shutdown on the interface
5. Verifyshow interfaces status, and watch the logs

Automatic recovery (technote)

SettingDefault
errdisable recovery cause <cause>Disabled for all causes
errdisable recovery interval <s>300 seconds
Behaviour if the problem persistsThe port goes err-disabled again

Messages that name the cause (technote)

MessageCause
%SPANTREE-2-BLOCK_BPDUGUARD / %PM-4-ERR_DISABLE: bpduguard error detectedBPDU received on a BPDU guard port
%SPANTREE-2-CHNMISCFGEtherChannel misconfiguration detected as a loop
%PM-4-ERR_DISABLE: link-flap error detectedToo many link up/down changes
%PORT_SECURITY-2-PSECURE_VIOLATIONPort security violation
%UDLD-4-UDLD_PORT_DISABLEDUnidirectional link
SW1# show interfaces status err-disabled
Port      Name               Status       Reason               Err-disabled Vlans
Gi1/0/22  Meeting room 2     err-disabled bpduguard
SW1# show logging | include Gi1/0/22
%SPANTREE-2-BLOCK_BPDUGUARD: Received BPDU on port Gi1/0/22 with BPDU Guard enabled. Disabling port.
%PM-4-ERR_DISABLE: bpduguard error detected on Gi1/0/22, putting Gi1/0/22 in err-disable state
SW1# show errdisable recovery | include Timer interval|bpduguard
SW1(config)# errdisable recovery cause bpduguard
SW1(config)# errdisable recovery interval 600
SW1(config)# interface GigabitEthernet1/0/22
SW1(config-if)# shutdown
SW1(config-if)# no shutdown

Should you enable automatic recovery?

Automatic recovery suits causes that are usually transient, such as link flap or DHCP rate limiting. For BPDU guard, port security and UDLD, the cause is often still present. Automatic recovery then just makes the port flap every interval, so find the device or cabling fault first.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → Cisco Err-disable Deep Reference. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
err-disablederrdisableshow errdisable recoveryport err disabled
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

Cisco Err-disable — Fast Check

Cause-first recovery checklist

1. show interfaces status err-disabled.

2. show errdisable recovery.

3. Read logs.

4. Inspect cause-specific feature.

5. Fix trigger.

6. Recover and prove stability.

Confirmation

Confirm action

Continue?