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.
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)- A2% (1)
- B88% (46)
- C6% (3)
- D4% (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.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.