Use it to go straight from the cause string to the right check, without working through the port from the cable upwards.
Cisco Err-disable Cause Mega Reference
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.
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.
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
Operational reference
Fast context before you go deeper.
errdisable recovery cause <cause>Primary Commands
Configuration and operational commands for this Topic.
Show Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 detectand the log; the preceding message names the feature. - Several ports went down together with
bpduguardorloopback. One loop touching all of them. - Both members of a bundle show
channel-misconfig. The other end is not configured as an EtherChannel. link-flapon a port to a server. The server's interface is resetting — driver, power saving or teaming — or the cable is marginal.udldon one port of a pair after patching. The fibres are crossed between two links.gbic-invalidafter 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.
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).
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
| Cause | Triggered by | What it means | Look at |
|---|---|---|---|
bpduguard | BPDU Guard | A spanning-tree BPDU arrived on a port meant for end devices | What is plugged in: a switch, a bridge, a looped cable |
psecure-violation | Port security | A MAC address beyond the allowed number, or not the recorded one | show port-security interface; the last source address |
udld | UDLD | The link carries traffic in one direction only, or is miswired | The fibre pair and optics; show udld interface |
link-flap | The switch itself | The link changed state five times within ten seconds | Cable, connector, optic, far-end device, speed/duplex |
channel-misconfig | EtherChannel guard | This side bundles ports while the other side does not | Channel-group mode on both ends |
pagp-flap, dtp-flap | PAgP / DTP | Negotiation changed state repeatedly | Mode mismatch or an unstable link |
loopback | Keepalive | The port received its own keepalive frame back | A loop behind the port |
storm-control | Storm control | Broadcast or multicast above the threshold, with shutdown as action | The source of the traffic; a loop |
arp-inspection | Dynamic ARP Inspection | ARP packets above the rate limit | The device's ARP behaviour; the limit |
dhcp-rate-limit | DHCP snooping | DHCP packets above the rate limit | The device; the limit |
security-violation | 802.1X | An authentication violation on the port | The 802.1X session on the port |
gbic-invalid / sfp-config-mismatch | Transceiver check | An unsupported or mismatched transceiver | The module type and compatibility |
inline-power | PoE | A power fault on the port | The powered device and cable |
l2ptguard | Layer 2 protocol tunnelling | Tunnelled protocol frames above the threshold | The 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) | Meaning | Fix |
|---|---|---|
| bpduguard | A BPDU on a PortFast/BPDU guard port | Remove the switch or loop, or reconfigure the port as a switch link |
| channel-misconfig | EtherChannel on on one side only | Use LACP active on both sides, or match the configuration |
| udld | Unidirectional link detected | Fix the fibre, optic or cabling; check both ends |
| link-flap | Up/down changes above the threshold | Cable, optic, duplex, or a power-saving NIC |
| psecure-violation | Too many MACs, or a secure MAC seen elsewhere | Find the extra device; adjust the maximum; use sticky deliberately |
| dhcp-rate-limit | DHCP packets above the snooping rate limit | A rogue DHCP client, a loop, or a limit that is too low |
| arp-inspection | ARP rate above the DAI limit | A loop, a scan, or a limit that is too low |
| gbic-invalid | Unsupported or faulty transceiver | Use a supported optic; check the compatibility matrix |
| inline-power | PoE fault | Check the powered device and cable; check the power budget |
| pagp-flap / dtp-flap | Negotiation flapping | A configuration mismatch between ends |
| l2ptguard | Layer 2 protocol tunnelling threshold exceeded | Check 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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
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.
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.