nerdexam
Cisco

200-301 · Question #1502

How does MAC learning function?

The correct answer is B. enabled by default on all VLANs and interfaces. MAC address learning is a fundamental function of Layer 2 switches that is enabled by default on all active interfaces within a VLAN.

Submitted by rachelw· Mar 5, 2026Network Access

Question

How does MAC learning function?

Options

  • Aoverwrites the known source MAC address in the address table
  • Benabled by default on all VLANs and interfaces
  • Cprotects against denial of service attacks
  • Dforwards frames to a neighbor port using CDP

How the community answered

(52 responses)
  • A
    2% (1)
  • B
    88% (46)
  • C
    6% (3)
  • D
    4% (2)

Why each option

MAC address learning is a fundamental function of Layer 2 switches that is enabled by default on all active interfaces within a VLAN.

Aoverwrites the known source MAC address in the address table

A switch only overwrites a known MAC address in its table if that MAC address is subsequently learned on a *different* port, indicating the device has moved, not simply if it's known.

Benabled by default on all VLANs and interfacesCorrect

MAC address learning is a core, default behavior of Ethernet switches, where the switch automatically builds its MAC address table by inspecting the source MAC address of incoming frames on all active interfaces within a VLAN, enabling efficient forwarding decisions.

Cprotects against denial of service attacks

While some MAC-related features like port security contribute to network security, MAC learning itself is primarily a forwarding mechanism and does not directly protect against denial-of-service attacks.

Dforwards frames to a neighbor port using CDP

CDP (Cisco Discovery Protocol) is a Layer 2 protocol for discovering directly connected Cisco devices, and it is unrelated to how a switch forwards data frames based on MAC addresses.

Concept tested: Switch MAC address learning mechanism

Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_55_se/configuration/guide/scg/swbasic.html

Topics

#MAC learning#Layer 2 switching

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice