Arista Interface Flapping: Troubleshooting Guide
Interface flapping on Arista switches can cause network instability, trigger STP reconvergence, and disrupt traffic. This guide covers common causes and diagnostic steps — manually and with Inishi.
Quick Diagnosis with Inishi
If you're using Inishi, just ask:
"Why is interface Ethernet1 flapping on switch-01?"Inishi will:
- Check interface status and error counters
- Review recent logs for flap events
- Correlate with transceiver diagnostics
- Identify the root cause
Skip the manual troubleshooting below and try Inishi free → (opens in a new tab)
Manual Troubleshooting
Step 1: Check Interface Status
switch-01# show interfaces Ethernet1
Ethernet1 is up, line protocol is up (connected)
Hardware is Ethernet, address is 001c.73a1.b234
MTU 9214 bytes, BW 10000000 Kbit
Full-duplex, 10Gb/s, auto negotiation: off
Last link flapped 0:05:32 ago
5 input errors, 0 CRC, 0 frame, 5 overrun, 0 ignored
0 output errors, 0 collisionsKey indicators:
Last link flapped— How long since the last flapinput errors,CRC,frame— Physical layer issuesoverrun— Buffer issues (usually transient)
Step 2: Check Flap History
switch-01# show interfaces Ethernet1 status history
Time Status
2024-01-15 14:32:05 down
2024-01-15 14:32:07 up
2024-01-15 14:28:12 down
2024-01-15 14:28:14 up
2024-01-15 14:25:03 down
2024-01-15 14:25:05 upPattern analysis:
- Regular intervals → Auto-negotiation issues or external device
- Random intervals → Physical layer (cable, SFP, port)
- Correlated with other events → Check for spanning tree or LACP issues
Step 3: Check Transceiver Diagnostics
switch-01# show interfaces Ethernet1 transceiver detail
Ethernet1
Administrative down: False
Transceiver Type: SFP-10G-SR
Tx Power: -2.3 dBm
Rx Power: -8.5 dBm
Temperature: 42.5 C
Voltage: 3.29 VThresholds to watch:
| Metric | Warning | Critical |
|---|---|---|
| Rx Power | < -10 dBm | < -14 dBm |
| Tx Power | < -5 dBm | < -8 dBm |
| Temperature | > 70 C | > 85 C |
Low Rx power is the most common cause of interface flapping. It usually indicates a dirty fiber, bad patch cable, or failing SFP.
Step 4: Check Logs
switch-01# show logging last 100 | grep Ethernet1
Jan 15 14:32:05 switch-01 Ebra: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1, changed state to down
Jan 15 14:32:07 switch-01 Ebra: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1, changed state to up
Jan 15 14:32:05 switch-01 Phy: %PHY-5-LINK_DOWN: Ethernet1 link status changed to downStep 5: Check MLAG Status (if applicable)
switch-01# show mlag
MLAG Configuration:
domain-id : production
local-interface : Vlan4094
peer-address : 10.255.255.2
peer-link : Port-Channel1
MLAG Status:
state : active
negotiation status : connected
peer-link status : upIf the flapping interface is part of an MLAG, check that MLAG is stable.
Common Causes and Fixes
1. Bad Cable or Fiber
Symptoms:
- CRC errors incrementing
- Flapping at irregular intervals
- Low Rx power on transceiver
Diagnosis:
show interfaces Ethernet1 counters errors
show interfaces Ethernet1 transceiverFix:
- Clean fiber connectors with IPA wipes
- Reseat the cable/patch cord
- Replace cable if errors persist
- Try a different port to isolate
2. Failing SFP/Transceiver
Symptoms:
- Rx/Tx power out of spec
- High temperature
- Flapping increases over time
Diagnosis:
show interfaces Ethernet1 transceiver detail
show interfaces Ethernet1 transceiver thresholdsFix:
- Reseat the SFP
- Clean SFP and fiber connectors
- Replace SFP with known-good spare
- Check for compatibility (genuine vs third-party)
3. Auto-Negotiation Mismatch
Symptoms:
- Flapping every 30-60 seconds (negotiation timeout)
- Duplex/speed mismatch in logs
Diagnosis:
show interfaces Ethernet1 status
show running-config interfaces Ethernet1Fix:
switch-01(config)# interface Ethernet1
switch-01(config-if-Et1)# speed forced 10000full
switch-01(config-if-Et1)# no speed auto4. STP Topology Changes
Symptoms:
- Multiple interfaces flapping together
- STP TCN (Topology Change Notification) in logs
Diagnosis:
show spanning-tree interface Ethernet1 detail
show logging | grep SPANTREEFix:
- Enable BPDU Guard on edge ports
- Configure PortFast on access ports
- Investigate upstream STP issues
5. LACP Issues
Symptoms:
- Port-Channel members flapping
- LACP timeout messages in logs
Diagnosis:
show lacp interface Ethernet1 detailed
show port-channel 1 detailedFix:
- Verify LACP mode matches on both ends (
activeorpassive) - Check that system-id and key match
- Verify LACP rate (fast vs normal)
6. Errdisabled State
Symptoms:
- Interface shows
errdisabled - No traffic passing
Diagnosis:
show interfaces Ethernet1 status
show errdisable recoveryFix:
switch-01(config)# interface Ethernet1
switch-01(config-if-Et1)# shutdown
switch-01(config-if-Et1)# no shutdownOr enable auto-recovery:
switch-01(config)# errdisable recovery cause all
switch-01(config)# errdisable recovery interval 300Prevention: Proactive Monitoring
With Inishi
Set up health polling to catch flapping before it impacts users:
- Enable interface monitoring on your Arista switches
- Inishi tracks flap counts and error rates
- Get alerts when thresholds are exceeded
Set up monitoring → (opens in a new tab)
With Event-Handler (Native)
Configure Arista's built-in event handler to alert on interface changes:
switch-01(config)# event-handler interface-flap
switch-01(config-handler-interface-flap)# trigger on-intf Ethernet1 operstatus
switch-01(config-handler-interface-flap)# action bash logger "Interface flap detected"Diagnostic Commands Summary
| Command | Purpose |
|---|---|
show interfaces Ethernet1 | Overall status, errors, last flap |
show interfaces Ethernet1 status history | Flap history with timestamps |
show interfaces Ethernet1 transceiver | SFP diagnostics |
show logging | grep Ethernet1 | Related log entries |
show spanning-tree interface Ethernet1 | STP state |
show lacp interface Ethernet1 | LACP status |
Let Inishi Do the Work
Manual troubleshooting works, but it requires expertise and time. With Inishi:
- Ask "Why is this interface flapping?" in plain English
- Get correlated analysis across status, errors, and logs
- See proposed fixes before they run
- Keep audit trails for compliance
Start your free trial → (opens in a new tab) — 14 days, 5 devices, no credit card required.