Back to Glossary Index
Media Access ControlDomain 1.0
CSMA/CD Carrier Sense Multiple Access w/ Collision Detection
The foundational access method used by early Ethernet networks to manage traffic on shared mediums. In environments utilizing repeaters or hubs (which operate at half-duplex), only one device can transmit data at a time. CSMA/CD is the algorithm that determines how devices take turns talking and how they recover when their signals crash into each other.
Breaking Down the Acronym
| CS (Carrier Sense) | Before a network card transmits, it physically "listens" to the electrical voltage on the copper wire. If it detects another signal, it waits. If the wire is quiet, it proceeds. |
| MA (Multiple Access) | Acknowledges that the physical wire is a shared medium. Dozens of devices are tapped into the same electrical bus, meaning everyone has equal priority to transmit when the wire is quiet. |
| CD (Collision Detection) | If two devices listen, hear silence, and transmit at the exact same microsecond, their electrical signals collide and corrupt the data. The devices detect the voltage spike and trigger the recovery process. |
The Recovery Mechanism
- A collision is detected by the transmitting Network Interface Cards (NICs).
- Both transmitting devices immediately stop sending their data frame.
- Both devices transmit a high-voltage Jam Signal across the wire to ensure every other device on the network is aware that a collision just occurred and the current frame is garbage.
- Both devices invoke a backoff algorithm, generating a randomized backoff timer.
- Once a device's random timer expires, it begins the CSMA/CD process over again by listening to the wire. (Because the timers are random, one device will inevitably wake up and transmit before the other).
CCNA Exam Gotchas
[!]
Modern Irrelevance (Full-Duplex)
The CCNA will try to trick you with CSMA/CD questions on modern topologies. CSMA/CD is completely disabled and irrelevant on modern Full-Duplex switch ports. Because switches micro-segment the network and full-duplex provides dedicated transmit (TX) and receive (RX) wires, collisions are physically impossible. CSMA/CD only matters if a hub is introduced or a port is forced into half-duplex.