Cisco switch: MAC address flapping between ports
By Sai Kiran Pandrala · reviewed by Sai Kiran Pandrala, Editor Last verified: 2026-05-30
| Category | IP / Network Issue |
|---|---|
| Subject | Cisco switch |
| Skill level | Intermediate to advanced (CCNA / CCNP background recommended) |
| DIY-able? | Mostly yes with CLI access; some scenarios need TAC + RMA. |
What this guide covers
Same MAC seen on multiple ports. usually a loop or duplicate MAC.
Repair sequence
show mac address-table notification mac-moveto find affected MACs.- Identify the two ports the MAC is bouncing between.
- If both ports go to access devices: someone hooked the same device to both, disconnect one.
- If one is an uplink: STP loop, BPDUguard / loop-guard / UDLD likely should err-disable one side.
- Enable rate-limit:
mac address-table notification mac-move.
CLI commands
show mac address-table notification mac-move
show mac address-table address <MAC>
When the issue persists
- Open Cisco TAC case with
show tech-support. - Provide the full timeline + recent changes.
Frequently asked questions
Will this work on my exact IOS-XE / ASA version?
The procedure reflects current IOS-XE 17.x and ASA 9.20 behaviour. Older trains (15.x, 9.16 ASA) may need minor syntax adjustments: use ? in the CLI.
Should I open a TAC case immediately?
Open one if you suspect hardware failure or the symptom persists after a maintenance-window reload. Make sure your SmartNet is active first.
Where can I find the Cisco official documentation?
https://www.cisco.com/c/en/us/support/all-products.html, search the product family + feature name.
Is this procedure safe in production?
Test in a lab or maintenance window first. Capture pre-change state so you can roll back.
Related guides
- All Cisco fix guides → /cisco/
- Cisco IOS error messages → /cisco/section/ios_error_messages.html
- Cisco troubleshooting by symptom → /cisco/section/troubleshoot_symptoms.html
References
- Cisco System Message Guide for IOS-XE / IOS
- Cisco Bug Search Tool: https://bst.cloudapps.cisco.com/bugsearch/
- Cisco Smart Software Manager: https://software.cisco.com
- Cisco TAC: https://mycase.cloudapps.cisco.com/case
Reference material, not professional advice. Validate against your specific IOS-XE version and test in a non-production environment before applying.
Why this matters for your day-to-day
A Cisco device that's misbehaving costs more than the fix itself: lost productivity, missed calls, security risk, even safety risk in some categories. Treating the symptom quickly with a documented procedure is cheaper than letting it persist. The steps above are written to get you back to working in under an hour where possible, and to flag clearly when escalation is the right call.
Cause analysis
A few things to confirm so the Cisco device fix goes cleanly:
- Latest firmware downloaded if you're going to update.
- Warranty + support contract status checked. opening sealed parts may void it.
- Backup of current configuration (where applicable) taken.
- Spare parts on hand if you anticipate replacement.
- Adequate workspace, lighting, and time, rushing causes regressions.
Post-repair audit
After applying the fix on your Cisco device, confirm:
- The original symptom is no longer reproducible.
- Related features (status LEDs, app sync, paired accessories) still work.
- The device responds to a soft reboot without the fault returning.
- Any error codes that were on display have cleared.
- Documentation (your service log, the brand companion app) reflects the change.
When to call Cisco support instead
Escalate if:
- The same symptom returns within 24 hours of a clean fix.
- You see physical damage (burn marks, swollen battery, cracked PCB).
- The device is in warranty and a hardware replacement is the cheaper outcome.
- Repair requires specialised tools you don't own (alignment jigs, calibration software).
- Following the official path keeps the warranty intact, which matters more than the time spent.
More frequently asked questions
Will the procedure work on the international variant?
Some features and firmware paths are region-locked. Check the model spec sheet to confirm your variant supports the menu option referenced. If you're outside the US/EU, look for the regional support portal.
How often should I run preventive checks?
Quarterly for most consumer devices; monthly for production / commercial devices. Set a calendar reminder so the device stays healthy between issues.
Are there safer alternatives for non-technical users?
Yes: the manufacturer's self-service troubleshooter (HP Smart, LG ThinQ, Samsung Members, similar) usually walks through the same steps in a guided UI. Use that first if you're not comfortable with menu paths.
Should I update firmware first or last?
Update firmware first if a release note specifically mentions your symptom. Otherwise, finish the troubleshooting flow first, then update; that way you can isolate whether the update or the underlying fix solved it.
Is it safe to apply during business hours?
If the device is in production use, apply during a scheduled maintenance window. Most procedures need 2-15 minutes of downtime. Capture pre-change state so you can roll back if needed.
Field notes from real incidents on IP / Network Issue
When I work on Cisco switch: MAC address flapping between ports the rhythm I lean on is the one I have built over years of these tickets. Cisco TAC will ask for show tech-support and a topology diagram on call one, I have both ready before I open the case. The newer Cisco IOS-XE traceability tools (show platform hardware fed) are massively underused; they answer questions the old CLI cannot. Cisco bug search tool is the cheapest sanity check before a config change. search the symptom, sort by affected releases, decide.
Tools I actually reach for
For Cisco switch: MAC address flapping between ports on IP / Network Issue the cheapest signal I can land usually comes from a known order of operations, not a kitchen-sink approach. I start with show logging last 200 because it is the lowest-friction way to confirm the failure is real and reproducible. If that returns ambiguous data, I escalate to show tech-support (capture for TAC), ping vrf <vrf> <target>, show platform hardware capacity, and finally to show running-config | include <feature> only when the cheaper tools cannot reach the layer the failure lives in. That ordering matches the failure surfaces I have actually seen on IP / Network Issue units over the last few years, not an abstract taxonomy. The cheap signals gate the expensive ones so the investigation does not balloon into a multi-hour exercise.
Verification I run before I close the ticket
Before I mark Cisco switch: MAC address flapping between ports resolved on a IP / Network Issue unit, the verification loop below is what I actually run. Each step proves a different layer is green, and the order matters - the cheap checks gate the more expensive ones so I never burn an hour on a deep test that a shallow one would have failed in seconds.
show bgp summary # confirm session state after route changesIf that one comes back clean, move to the next check. If it does not, stop and dig in there before layering more verification on top of a red signal.
show logging | include %LINK|%LINEPROTO|%BGP|%OSPFIf that one comes back clean, move to the next check. If it does not, stop and dig in there before layering more verification on top of a red signal.
show interfaces <int> | include errors|drops|CRCIf that one comes back clean, move to the next check. If it does not, stop and dig in there before layering more verification on top of a red signal.
show spanning-tree summary # confirm topology stabilityOnly when every line above runs clean do I close the ticket and update the runbook with the timestamps. A green verification that nobody can reproduce is not a fix, it is luck waiting to regress.
Where I check first when the docs disagree
When two sources contradict each other on a IP / Network Issue detail, the disambiguation order I lean on is stable across products and across years. cisco.com/c/en/us/td/docs/ios-xml for IOS XR is where I start for the ground-truth view. Cisco TAC case knowledge base is where I start for the ground-truth view. developer.cisco.com for NSO / model-driven APIs is where I start for the ground-truth view. Random blog posts and reseller wikis are signal, not ground truth, and I treat them as such until the references above either confirm or contradict the claim. The cost of trusting an unauthoritative source on Cisco switch: MAC address flapping between ports is rarely worth the time it saved.
Pitfalls I have walked into on this exact path
The shortcuts that look smart on Cisco switch: MAC address flapping between ports have a habit of biting back. The pitfalls below are the ones I have personally walked into on a IP / Network Issue unit, not things I read about. Cisco bug search tool is the cheapest sanity check before a config change, search the symptom, sort by affected releases, decide. The newer Cisco IOS-XE traceability tools (show platform hardware fed) are massively underused; they answer questions the old CLI cannot. Most catalyst stack issues I have triaged were power-budget related, not software: the show power detail output answers it in 5 seconds. When in doubt I revert to the slower path that the manual prescribes - the time I save by skipping it is always smaller than the time I spend cleaning up afterwards.
What I tell the next on-call
When I hand Cisco switch: MAC address flapping between ports off to the next person on rotation, the three lines I leave in the runbook are these. First, the symptom signature on IP / Network Issue - not a paraphrase, the exact string that surfaces in logs or on the screen. Second, the diagnostic that gave the highest signal in the least time. Third, the exact verification command whose green output justified closing the ticket. That trio is what turns a one-off fix into a runbook entry the next engineer can use without paging me at three in the morning.
I also add a one-line note on the cost of getting this wrong. For Cisco switch: MAC address flapping between ports on a IP / Network Issue unit, the cost is rarely the replacement part or the patch itself. It is the downtime, the second site visit, and the trust deficit you spend with whoever owns the asset when the fix does not hold. That framing keeps the next on-call from choosing the cheap-looking shortcut that ends up costing the most in elapsed hours and goodwill.
Related fixes
Related guides worth a look while you sort this one out:
- Cisco ASA firewall: MAC address flapping between ports
- Cisco router: MAC address flapping between ports
- Cisco Catalyst switch all ports dead: Diagnose & Fix
- Cisco switch: duplicate IP address detected
- Cisco switch: MAC table full
- Cisco switch port flapping: How to Fix
People also ask
Will this work on my exact IOS-XE / ASA version?
The procedure reflects current IOS-XE 17.x and ASA 9.20 behaviour. Older trains (15.x, 9.16 ASA) may need minor syntax adjustments, use `?` in the CLI.
Should I open a TAC case immediately?
Open one if you suspect hardware failure or the symptom persists after a maintenance-window reload. Make sure your SmartNet is active first.
Where can I find the Cisco official documentation?
https://www.cisco.com/c/en/us/support/all-products.html. search the product family + feature name.
Is this procedure safe in production?
Test in a lab or maintenance window first. Capture pre-change state so you can roll back.