What are common causes of switch port flapping and how to fix?
70
✓
✓ Best Answer
Port flapping is when a switch port repeatedly goes up and down, causing MAC table churn and possibly triggering STP recalculations.
Common Causes
- Cable issues: Damaged, kinked, or loose cables
- Bad connectors: Oxidized or improperly crimped RJ45
- Duplex mismatch: One end auto, other end forced
- Speed mismatch: Different negotiated speeds
- SFP module issues: Dirty fiber, incompatible module, bad module
- PoE overload: PSE cycling due to power draw
- End device instability: Rebooting devices
- EMI interference: Nearby noise sources
- Temperature issues: Marginal SFPs failing when hot
Diagnostic Steps
- Check port statistics: CRC errors, giants, runts
- Verify speed/duplex on both ends
- Test with known-good cable and device
- Check SFP DDM values (temp, RX power, TX power)
- Look at system logs for correlated events
- Swap SFPs to isolate
SFP-Specific Issues
- Rx power below sensitivity threshold → check fiber loss
- Tx power below spec → replace SFP
- High temperature → improve cooling
- Wavelength mismatch (SM/MM) → verify module type
Cable Issues
- Cat5e/Cat6 > 100m → segment or use fiber
- Interference on unshielded cables → switch to STP or fiber
- Poor terminations → re-crimp or replace
Long-Term Prevention
- Use good quality cables and modules
- Test cables during installation (TDR/certifier)
- Monitor SFP DDM values via SNMP
- Establish port flap alerts in NMS
- Physical protection for outdoor cables
2 Other Answers
20
DDM monitoring caught 3 dying SFPs before they fully failed. Highly recommend SNMP polling.
13
Duplex mismatch is a classic — always verify both ends.
Your Answer
You must be signed in to post an answer.