# How does an Ethernet switch learn MAC addresses and forward unknown unicasts?

Exam: 200-301 — Implementing and Administering Cisco Solutions
Knowledge domain: Network Fundamentals
Updated: 2026-11-25T05:30:51.594328+00:00
HTML: https://learningpathx.com/faq/200-301/ccna200301-mac-learning-unknown-unicast.html

## Also asked as

- What does a switch learn from incoming Ethernet frames, and when does it flood a unicast?
- Why does an Ethernet switch flood a unicast before it learns the destination MAC?

An Ethernet switch learns the source MAC address from a frame it receives and associates it with the ingress port and VLAN. It then looks up the destination MAC in the same VLAN. A known unicast goes toward the recorded port if it is eligible for forwarding. An unknown unicast is flooded out other forwarding ports in that VLAN. Dynamic entries eventually age out if traffic from that source does not refresh them.

In a simple lab, suppose Host A sends a frame to Host B and the switch has no entry for B. The switch learns A immediately and floods the frame within the VLAN. When B replies, the switch learns B from the reply and can use the resulting entry for later frames sent to B. On a Catalyst 9300 running IOS XE 17.15.x, use `show mac address-table` and compare the address, VLAN, and port with the intended path. A valid lookup is evidence about local Layer 2 learning. Test the routed or application path separately if that is the symptom.

**References**

* [Cisco Ethernet MAC forwarding behavior](https://www.cisco.com/c/en/us/td/docs/switches/lan/c9000/lyr2-fwd/cdp-lldp-mac-udld/cdp-lldp-mac-udld-configuration-guide/c-configure-mac.html)
* [Catalyst 9300 IOS XE 17.15.x Layer 2 and 3 commands](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-15/command_reference/b_1715_9300_cr/layer_2_3_commands.html)

Source: [Ethernet, Cabling, TCP, UDP, and Switching Fundamentals](https://learningpathx.com/news/ethernet-cabling-tcp-udp-and-switching-fundamentals.html)
