Bitzu

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

Single choice

How does a switch learn which MAC address is on which port?

  1. It reads the source MAC address of incoming frames
  2. It reads the destination MAC address of incoming frames
  3. It asks a DNS server
  4. 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.

Select all that apply

Which statements about a switch MAC address table are correct?

  1. It maps MAC addresses to switch ports
  2. Dynamic entries are removed after a period of inactivity
  3. Frames to unknown unicast MAC addresses are flooded
  4. It is built from destination MAC addresses
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More 100-150 CCST topics in this module