100-150 CCST ยท Network devices, routing and switching
Switching and MAC address tables
How a switch learns, floods and forwards frames, the MAC address table, and MAC address filtering.
Key points
- A switch learns by reading the source MAC address of each incoming frame and recording it with the port and VLAN.
- To forward, it looks up the destination MAC: a known address goes out one port only; an unknown unicast, a broadcast or a multicast is flooded out all other ports in the VLAN.
- Dynamic entries age out if a device goes quiet.
- MAC filtering allows or blocks devices by MAC address.
Practice questions
How does a switch learn which MAC address is on which port?
- It reads the source MAC address of incoming frames
- It reads the destination MAC address of incoming frames
- It asks a DNS server
- An administrator must type every entry
Show answer
Answer: A. It reads the source MAC address of incoming frames
It records the source MAC address of each incoming frame against the port it arrived on. The destination address is used for lookup, not learning.
Which statements about a switch MAC address table are correct?
- It maps MAC addresses to switch ports
- Dynamic entries are removed after a period of inactivity
- Frames to unknown unicast MAC addresses are flooded
- It is built from destination MAC addresses
- It stores the IP address of every host
Show answer
Answer: A. It maps MAC addresses to switch ports, B. Dynamic entries are removed after a period of inactivity, C. Frames to unknown unicast MAC addresses are flooded
The table maps MAC addresses to ports (per VLAN), dynamic entries age out, and unknown unicast frames are flooded. It does not store IP addresses and learning uses the source, not destination, address.
A switch builds its MAC address table from the destination address of frames it forwards.
Show answer
Answer: False
False. It learns from the source address; the destination address is only looked up to choose the outgoing port.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
