Ethernet, ARP, and MAC Address Learning
How switching works
A switch learns source MAC addresses on ingress ports and stores them in its MAC address table. Unknown unicast, broadcast, and some multicast frames are flooded within the VLAN. ARP maps an IPv4 address to a local-link MAC address. Routers do not forward Layer 2 broadcasts by default.
Verification
show mac address-table dynamic
show arp
show interfaces counters errors
Troubleshooting sequence
Check link state and speed/duplex, VLAN membership, MAC learning, ARP resolution, and then the Layer 3 route. A correct route cannot fix a broken physical or Layer 2 path.
Quick revision
- Explain the concept in your own words.
- Run the relevant verification commands in a lab.
- Record one common failure and how you would isolate it.
Want to learn this professionally?
Explore practical IT training at Cyber Code Academy.
View Academy Courses