Pcornel
Networking · Network & Protocols › Interfaces & Physical Layer

Interface Error Counters Deep Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=239

Back to the Topic

Answer

Every interface counts the frames it could not receive or send properly. Each counter stands for one kind of problem: CRC for damaged frames, runts and giants for wrong sizes, overruns for a receiver that could not keep up, output drops for a full transmit queue.

Remember

Errors are counted where the frame arrives, so CRC errors mean the damage happened towards this port. Output drops are congestion, not damage. Late collisions on one end with CRC errors on the other is a duplex mismatch. Only growth matters — clear the counters and look again.

First checks

  • show interfaces <interface> — input errors, CRC, runts, giants, overruns, output drops, resets.
  • show interfaces <interface> counters errors — the error counters per port.
  • clear counters <interface> — start a fresh measurement.
  • The same on the other end of the link.

Commands

clear counters [interface]
Resets interface counters to create a controlled measurement baseline.
clear counters

Verify in this order

counters cleared → traffic passes → input errors stay at zero → output drops stay at zero or small → both ends agree

Where it usually breaks

media/optics → administrative state → carrier/line protocol → negotiation → error/drop counters → neighbor discovery → upper-layer adjacency

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=239

Confirmation

Confirm action

Continue?