What Is a Function of MAC Learning on a Switch?
What is a function of MAC learning on a switch?
Community Insight
The question tests whether you know how a switch's MAC address table behaves, and the trap is that three of the four options state something false about switching or ARP, so you must pick the least-wrong, factually accurate statement rather than a perfect description of dynamic learning.
MAC learning lets a switch dynamically build its MAC address table (CAM table) by reading the source MAC address of every received frame and associating it with the ingress port. On this CCNA 200-301 question the only factually true option is D, because a static MAC entry is manually added to that same MAC address table — even though a manual entry is technically not 'learning' in the dynamic sense.
Many learners choose C, believing the MAC address table populates the ARP table. That is incorrect: MAC learning operates at Layer 2 and records MAC-to-port mappings, while ARP resolves IP addresses to MAC addresses at Layer 3 and is maintained separately by hosts and routers, not written by switch MAC learning.
Community Discussion (50 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option D states that a static MAC address is manually added to the MAC address table, and that statement is factually true — an administrator can configure a permanent entry with a command such as mac address-table static <mac> vlan <id> interface <int>, and it will not age out like dynamic entries. Since this poorly worded question asks for "a function of MAC learning" and none of the options describe dynamic source-MAC learning accurately, the correct approach is to select the only option that is a true statement about the MAC address table. As NewJeans put it, "Even if D is not MAC learning, C is not correct statement" and "Only D is true among the selections." Static entries are still installed in and used by the MAC address table, so D is the defensible choice.
Why the Other Options Are Wrong
Option A is false because MAC address learning is enabled by default on switch ports; it is not disabled on all VLANs — without learning, a switch could never build a table and would behave like a hub. Option B describes a behavior that only applies to VLANs or ports with port security / unknown-unicast drop features enabled; by default, a frame for an unlisted destination MAC is FLOODED out all other ports in the VLAN, not dropped, which is how the switch discovers where the destination lives. Option C is wrong because MAC learning is a Layer 2 function that maps MAC addresses to ports, while the ARP table maps IP addresses to MAC addresses; as ricky1802 summarized, "MAC table - layer 2 ARP - layer 3." The switch does not use MAC learning to populate anyone's ARP table.
Community Comment Notes
The comments split between C and D, and the C-voters argue purely on terminology: HennieB wrote "The question specifically says LEARNING. A Static MAC is not learned," and mda2h cited a Cisco PDF stating a static MAC is not learned. That is terminologically fair, but it does not rescue C, because C's claim about populating the ARP table is factually wrong. The D-voters, including dropspablo and ricky1802, correctly dismiss A and B as well and note that D is the only true statement. Others questioned the question's quality altogether — Joshua25 complained the items are "full of logic errors, incorrect use of terms" — which is why the practical exam strategy is to eliminate the false statements and choose the remaining true one.
Official Reference
Exam Strategy
On CCNA questions with an awkward stem, treat the options as true/false statements and eliminate the ones that are factually wrong, even if none perfectly answers the wording. Remember the defaults: MAC learning is on, unknown unicast is flooded (not dropped), and the MAC table (MAC-to-port, Layer 2) is completely separate from the ARP table (IP-to-MAC, Layer 3).
Frequently Asked Questions
Why isn't C correct — doesn't the switch build the ARP table from MAC learning?
No. MAC learning records MAC-to-port mappings in the Layer 2 MAC (CAM) table; the ARP table maps IP addresses to MAC addresses and is built by ARP exchanges on hosts and routers, not by switch MAC learning.
What really happens to a frame whose destination MAC is not in the address table?
By default the switch floods the frame out all other active ports in the same VLAN (unknown unicast flooding) to locate the destination. It is only dropped if a feature such as port security or an unknown-unicast drop is configured.
If a static MAC entry isn't 'learning', why is D the answer?
Because every other option is factually false: learning is enabled by default, unknown unicast is flooded not dropped, and MAC learning never populates the ARP table. D is the only true statement about the MAC address table.
Related Analysis
Practice All 200-301 Questions
Access 220 questions with complete answers and detailed explanations.
View Full 200-301 Practice Test →