Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Cisco Err-disable Cause Mega Reference

Direct answer

A switch port can be err-disabled for many reasons, and the switch records which: bpduguard, psecure-violation, udld, link-flap, channel-misconfig, storm-control and others. Each names the feature that acted.

When to use this

Use it to go straight from the cause string to the right check, without working through the port from the cable upwards.

First 30 seconds

1. show interfaces status err-disabled — read the cause.

2. bpduguard → a switch or loop is attached to an access port.

3. psecure-violation → show port-security interface <interface>; the last source address.

4. link-flap or udld → the physical link: cable, optic, fibre pair.

5. channel-misconfig → channel-group mode on both ends.

Operational verification

cause string read → feature identified → feature's own show command consulted → triggering condition found and removed → port re-enabled

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 · Cisco IOS XE
Key commanderrdisable recovery cause <cause>
Scope / prerequisiteUse it to go straight from the cause string to the right check, without working through the port from the cable upwards.
Show · 1Reference · 1
What next?3 suggested next steps
Catalog command links2
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

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 detect
show errdisable recovery
show logging | include ERR_DISABLE

The first gives the port and its cause. show errdisable detect lists all causes supported on the switch and whether each is active. The recovery view tells whether the port will return automatically. The log line just before the err-disable message usually comes from the feature itself and carries the details — the offending MAC address, the VLAN, the neighbour.

Then use the feature's own command for the cause in question, for example show port-security interface, show udld interface, show etherchannel summary or show storm-control.

Known-good: the cause has been read and checked with the matching feature command before the port is re-enabled.

Step 2 Failure isolation workflow Narrow the fault
  • The cause shown is unfamiliar. Look it up in show errdisable detect and the log; the preceding message names the feature.
  • Several ports went down together with bpduguard or loopback. One loop touching all of them.
  • Both members of a bundle show channel-misconfig. The other end is not configured as an EtherChannel.
  • link-flap on a port to a server. The server's interface is resetting — driver, power saving or teaming — or the cable is marginal.
  • udld on one port of a pair after patching. The fibres are crossed between two links.
  • gbic-invalid after inserting an optic. The module is not supported by the switch.
  • A cause recurs daily at the same time. Something scheduled: a backup, a device booting, a user's docking station.
Command lookup Jump straight to Cisco syntax
Key points

The causes fall into three groups: something connected that should not be (bpduguard, psecure-violation); an unhealthy link (link-flap, udld, transceiver causes); and disagreeing configuration or a loop (channel-misconfig, loopback, storm-control).

Key checks
  • show interfaces status err-disabled — port and cause.
  • show errdisable detect — all causes this switch knows.
  • show errdisable recovery — will the port return by itself?
  • Then the feature's own command: show port-security interface, show udld <interface>, show etherchannel summary, show storm-control.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

A switch port can be err-disabled for many different reasons, and the switch always records which. This topic lists the causes commonly seen on Cisco Catalyst switches, what each means, and where to look next.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

The cause string shown next to an err-disabled port is the fastest route to the fault: it names the feature that acted, and each feature watches for one specific condition. Going straight from the cause to the right check saves working through the port from the cable upwards.

ReferenceHow it works1 section · depth on demand

How it works

CauseTriggered byWhat it meansLook at
bpduguardBPDU GuardA spanning-tree BPDU arrived on a port meant for end devicesWhat is plugged in: a switch, a bridge, a looped cable
psecure-violationPort securityA MAC address beyond the allowed number, or not the recorded oneshow port-security interface; the last source address
udldUDLDThe link carries traffic in one direction only, or is miswiredThe fibre pair and optics; show udld interface
link-flapThe switch itselfThe link changed state five times within ten secondsCable, connector, optic, far-end device, speed/duplex
channel-misconfigEtherChannel guardThis side bundles ports while the other side does notChannel-group mode on both ends
pagp-flap, dtp-flapPAgP / DTPNegotiation changed state repeatedlyMode mismatch or an unstable link
loopbackKeepaliveThe port received its own keepalive frame backA loop behind the port
storm-controlStorm controlBroadcast or multicast above the threshold, with shutdown as actionThe source of the traffic; a loop
arp-inspectionDynamic ARP InspectionARP packets above the rate limitThe device's ARP behaviour; the limit
dhcp-rate-limitDHCP snoopingDHCP packets above the rate limitThe device; the limit
security-violation802.1XAn authentication violation on the portThe 802.1X session on the port
gbic-invalid / sfp-config-mismatchTransceiver checkAn unsupported or mismatched transceiverThe module type and compatibility
inline-powerPoEA power fault on the portThe powered device and cable
l2ptguardLayer 2 protocol tunnellingTunnelled protocol frames above the thresholdThe tunnel configuration

The causes fall into three groups, which suggests how to respond:

  • Something was connected that should not be — bpduguard, psecure-violation, security-violation. Remove or authorise the device.
  • The link itself is unhealthy — link-flap, udld, the transceiver causes, inline-power. Repair the physical path.
  • Configuration at the two ends disagrees, or there is a loop — channel-misconfig, the flap causes, loopback, storm-control. Correct the configuration or find the loop.

The exact list depends on platform and software; show errdisable detect prints the causes a given switch knows.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Err-disable causes and their fixes

A switch records why it err-disabled each port, and each cause points to a different fix. Cisco's errdisable technote lists the causes:

  • Duplex mismatch and late collisions.
  • Port-channel misconfiguration and PAgP flap.
  • BPDU guard violation.
  • UDLD (unidirectional link).
  • Link flapping.
  • Security violation.
  • L2PT guard.
  • DHCP snooping rate limit.
  • An incorrect GBIC/SFP or cable.
  • ARP inspection.
  • Inline power.

show errdisable detect shows which causes are detected. show errdisable flap-values shows the thresholds, for example five link flaps in ten seconds.

Cause, meaning and fix

Cause (as shown)MeaningFix
bpduguardA BPDU on a PortFast/BPDU guard portRemove the switch or loop, or reconfigure the port as a switch link
channel-misconfigEtherChannel on on one side onlyUse LACP active on both sides, or match the configuration
udldUnidirectional link detectedFix the fibre, optic or cabling; check both ends
link-flapUp/down changes above the thresholdCable, optic, duplex, or a power-saving NIC
psecure-violationToo many MACs, or a secure MAC seen elsewhereFind the extra device; adjust the maximum; use sticky deliberately
dhcp-rate-limitDHCP packets above the snooping rate limitA rogue DHCP client, a loop, or a limit that is too low
arp-inspectionARP rate above the DAI limitA loop, a scan, or a limit that is too low
gbic-invalidUnsupported or faulty transceiverUse a supported optic; check the compatibility matrix
inline-powerPoE faultCheck the powered device and cable; check the power budget
pagp-flap / dtp-flapNegotiation flappingA configuration mismatch between ends
l2ptguardLayer 2 protocol tunnelling threshold exceededCheck the tunnelling configuration and the customer side

EtherChannel misconfiguration example (technote)

If one side uses channel-group ... mode on and the other side doesn't bundle, spanning tree sees a loop and err-disables the channel. The technote's fix is to use a negotiating mode on both sides and then re-enable the ports.

SW1# show errdisable detect | include bpduguard|channel|udld|link-flap|psecure|dhcp|arp
SW1# show errdisable flap-values
ErrDisable Reason    Flaps    Time (sec)
-----------------    ------   ----------
pagp-flap              3       30
dtp-flap               3       30
link-flap              5       10
SW1# show interfaces status err-disabled
SW1# show port-security interface GigabitEthernet1/0/30 | include Violation|Maximum|Total
SW1# show ip dhcp snooping | include rate

Turning detection off

no errdisable detect cause <cause> stops the switch protecting itself against that condition. The technote advises assessing the impact first. Fix the cause or tune the threshold instead of turning detection off.

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 Cause Mega 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
errdisable causeserr-disabled reasonsshow errdisable recovery
Embedded quick reference

Operational notes

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

Cisco Err-disable Causes

Cause-first recovery flow.

show interfaces status err-disabled → logs → show errdisable recovery → feature evidence. Fix the trigger before recovering the port.

Confirmation

Confirm action

Continue?