Watch on Instagram

Network Bytes · Episode 111 · CCNA 1.4

"Interface errors: CRC and runts"

Every Ethernet frame ends with a check number. If the receiving port's math doesn't match, the frame was damaged and is dropped as a CRC error. A runt is a frame that's too short. Together they often point to a duplex mismatch, and show interfaces is where you read the counters.

Posted · About a 1 minute watch, 4 minute read · Take the quiz

The check number at the end of every frame

Every Ethernet frame carries a destination MAC address, a source MAC address, a type field, the data, and at the very end a Frame Check Sequence (FCS). The sender runs a cyclic redundancy check (CRC) over the frame and puts the result in the FCS. The video compares it to the total at the bottom of a receipt. A CRC is not a simple sum, but the idea is the same: a short value that sums up everything above it.

When the totals don't match

The receiving port runs the same calculation on the frame it actually got. If its result matches the FCS, the frame arrived intact. If it doesn't, at least one bit changed on the way, so the frame is damaged and the port drops it. On a Cisco switch this shows up in the CRC counter. CRC errors on their own most often point to the physical layer: a bad cable, a loose or dirty connector, electrical noise (electromagnetic interference from things like motors or power cables), or a faulty network card or port.

Runts: frames that are too short

Ethernet has a minimum frame size of 64 bytes, counted from the destination MAC address through the FCS (the preamble does not count). A frame smaller than that is a runt. Runts usually have a bad FCS too, and they are often fragments left by collisions: two frames crash into each other part-way and the receiver sees a stub.

CRC plus runts: think duplex mismatch

If one end of a link runs full duplex (talks anytime) and the other runs half duplex (takes turns), the half-duplex side thinks it sees collisions and stops sending mid-frame. The full-duplex side then receives broken pieces: CRC errors and runts. The half-duplex side usually logs late collisions. So CRC errors together with runts are a classic sign of a duplex mismatch, while CRC errors without collisions more often mean cabling or interference.

Try it yourself

In Cisco Packet Tracer (free with a Networking Academy account), connect two switches, open the CLI on one and run show interfaces fastEthernet0/1. Find the lines with input errors, CRC, frame and runts, giants. Then set duplex half on one end and duplex full on the other, send some pings across, and watch which counters change on each side. Use clear counters to start from zero.

Good to know

  • CCNA 1.4 asks you to identify interface and cable issues: collisions, errors, mismatched duplex and speed. EP17 covers duplex and speed mismatch, and EP73 covers show ip interface brief.
  • Every Ethernet frame ends with a 4-byte Frame Check Sequence: a 32-bit CRC worked out over the frame. The receiver recomputes it and discards the frame if the values differ; Cisco counts this in the CRC counter of show interfaces.
  • "Like the total at the bottom of a receipt" is an analogy; a CRC is not a simple sum.
  • The minimum Ethernet frame is 64 bytes from the destination MAC address through the FCS, preamble not counted. A runt is smaller than that, usually with a bad FCS, and runts are often collision fragments.
  • CRC errors and runts on the full-duplex side, with late collisions on the half-duplex side, are the classic sign of a duplex mismatch. CRC errors without collisions more often point to cabling, connectors, interference or a faulty NIC or port.
  • Giants, input errors and other counters are left out of the video.

For CCNA learners

CCNA exam topic 1.4 asks you to identify interface and cable issues. Know what the CRC and runts counters in show interfaces mean, that CRC errors alone usually point to cabling or interference, and that CRC errors plus runts (with late collisions on the far end) suggest a duplex mismatch.

Answer to the comment question

24 bytes short. The Ethernet minimum is 64 bytes, so a 40-byte frame is 64 − 40 = 24 bytes short, which makes it a runt.

Test your knowledge

Quick quiz: "Interface errors: CRC and runts"

4 multiple-choice questions. Pick one answer for each, then check how you did.

1What does a CRC error on a switch port mean?
2What is a runt?
3A port shows CRC errors but no collisions anywhere. What is the most likely cause?
4One end of a link shows CRC errors and runts, the other shows late collisions. What should you check first?

Sources

Video transcript

The link is up. So why is the switch counting errors?

Every Ethernet frame ends with a check number, like the total at the bottom of a receipt.

The receiving port redoes the math. If the totals don't match, the frame was damaged. That's a CRC error, and it's dropped.

CRC errors usually mean a bad cable, a loose connector, or electrical noise.

A runt is a frame that's too short: under 64 bytes, the Ethernet minimum.

CRC errors and runts together often mean a duplex mismatch: one end talks anytime, the other takes turns.

To check, run show interfaces and read the error counters.

A frame arrives 40 bytes long. How many bytes short of the minimum is it? Comment your answer below!

That's your byte.

More from Network Bytes

All Network Bytes lessons