# How does an Ethernet switch learn MAC addresses and handle an unknown destination?

Exam: HPE6-A86 — HPE Network Switching Associate Exam
Knowledge domain: Identify, describe, and apply foundational networking architectures and technologies.
Updated: 2026-11-25T03:40:00.907527+00:00
HTML: https://learningpathx.com/faq/HPE6-A86/hpe6-a86-switch-mac-learning-and-unknown-unicast.html

## Also asked as

- What does a switch do with the source MAC and an unknown destination MAC?
- Why is an unknown unicast frame flooded only within its VLAN?

An Ethernet switch learns a frame's **source** MAC address on its incoming port in the frame's VLAN. It then looks up the **destination** MAC in that VLAN. A known unicast destination identifies the forwarding port. With ordinary unknown unicast flooding, a destination missing from the table causes a copy to go to the other eligible forwarding ports in the VLAN.

For example, when host A first sends to host B and the switch has no entry for B, A's frame can reach B through flooding. When B transmits, the switch can learn B's source MAC on B's port. Later frames for B can use that port directly. Broadcast is a separate case that also reaches eligible ports within the broadcast domain.

VLAN membership and port forwarding state determine which ports can receive a flooded frame. A feature such as Unknown Unicast Flood Block can further restrict flooding on a supported AOS-CX port. A MAC table entry for A means a frame from A was seen there, which is weaker evidence than observing a reply from B or confirming an end-to-end application exchange.

## References

* [AOS-CX 10.13 Layer-2 Bridging Guide for CX 6300/6400](https://arubanetworking.hpe.com/techdocs/AOS-CX/10.13/PDF/l2_bridging_6300-6400.pdf)

Source: [HPE6-A86: Following an Ethernet Packet Through the Network Layers](https://learningpathx.com/news/hpe6-a86-following-an-ethernet-packet-through-the-network-layers.html)
