liveBook · Manning

Csma/cd

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

CSMA/CD is the Ethernet medium-access method in which devices detect carrier activity, transmit when the medium is available, and handle collisions.

CSMA/CD (carrier-sense multiple access with collision detection) coordinates Ethernet transmissions over a shared medium, such as a hub. Devices listen before transmitting, detect collisions, and recover when simultaneous transmissions interfere. section 8.1.3

The CSMA/CD process follows these steps:

  • Sense the carrier by listening for electrical signals from another transmission. section 8.1.3
  • Wait until the shared medium appears idle, then transmit the frame. section 8.1.3
  • Detect a collision if transmissions overlap, then send a jamming signal to notify other devices. section 8.1.3
  • Wait for a random period before retransmitting; repeat the process if another collision occurs. section 8.1.3

Two transmissions through a hub

Four PCs connected to one hub share a collision domain. If PC2 sends to PC1 while PC4 sends to PC3, the hub attempts to flood both frames simultaneously. The transmissions collide, so the destination PCs do not receive intact frames. CSMA/CD coordinates the retry process after the collision. section 8.1.3

CSMA/CD applies to half-duplex interfaces. Hubs create shared collision domains, while switched Ethernet provides separate collision domains and normally should not experience collisions. A collision counter on a switched LAN therefore indicates a possible network problem rather than normal operation. section 8.1.3 section 8.3

Late collisions are especially significant: CSMA/CD timing places normal collisions within the first 64 transmitted bytes. Later collisions often indicate that a device is not checking the medium correctly, commonly because of a duplex mismatch. section 8.3 section 8.3.2

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Explains carrier sensing, collision detection, jamming, and random retry, but does not develop the underlying timing mathematics.
Examples
Uses two simultaneous hub transmissions, four-PC collision-domain diagrams, and collision or late-collision interface counters.
What it assumes
Builds from Ethernet frames, shared media, hubs, switches, collision domains, and half- versus full-duplex operation.
What you can do after
Diagnose collisions and duplex problems by interpreting show interfaces counters and distinguishing hub behavior from switched-LAN faults.
How it connects
Connects shared media, hubs, collision domains, half-duplex Ethernet, duplex mismatches, and interface error counters.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.