CSMA/CD, Switching, and VLANs Flashcards
What is the purpose of CSMA/CD in Ethernet networks?
To detect and handle data collisions
When does a device transmit on a CSMA/CD network?
After sensing that the channel is idle
What does a device do after a collision is detected?
Sends a jam signal and waits a random time
On which types of Ethernet is CSMA/CD required?
Half-duplex Ethernet
Why is CSMA/CD unnecessary in full-duplex Ethernet?
No collisions occur
Which layer of the OSI model is CSMA/CD associated with?
Data Link
What is a ‘jam signal’?
A signal to stop data transmission
What algorithm is used after a collision is detected in CSMA/CD?
Backoff algorithm
What technology has largely replaced CSMA/CD in modern LANs?
Full-duplex Ethernet switching
What topology did early Ethernet use that required CSMA/CD?
Bus
What does a switch use to forward frames?
MAC addresses
What table does a switch build to make forwarding decisions?
MAC address table
What is microsegmentation?
Isolating each port into its own collision domain
What happens if a switch doesn’t know the destination MAC address?
Floods it out all ports except the incoming port
Which device creates multiple collision domains by default?
Switch
What is the main difference between a switch and a hub?
Switches forward based on MAC addresses
What is store-and-forward switching?
The switch stores and checks the frame before forwarding
What type of switch port carries traffic from multiple VLANs?
Trunk port
What does STP (Spanning Tree Protocol) prevent?
Broadcast storms
Which command shows the MAC address table on a Cisco switch?
show mac address-table
How many collision domains exist in a 24-port switch?
24
How does a switch learn a MAC address?
Observing source MAC addresses in frames
What is the default action of a switch for unknown unicast frames?
Flood to all ports
Which protocol prevents Layer 2 loops in switched networks?
STP