1 Switching recap: the MAC address table
A switch operates at Layer 2 and forwards Ethernet frames by their destination MAC address. It builds a MAC address table (CAM table) through learning: when a frame arrives on a port, the switch records the frame’s source MAC against that port.
To forward, the switch looks up the destination MAC. A known destination is sent out one port only (unicast). An unknown destination is flooded out every port except the ingress port. Broadcast and multicast frames are also flooded within the broadcast domain. Idle entries age out (typically after 300 seconds).
Switch# show mac address-table
Vlan Mac Address Type Ports
---- ----------- -------- -----
1 0011.2233.4455 DYNAMIC Gi0/1
1 66aa.bbcc.ddee DYNAMIC Gi0/2