A MAC address table on a network switch maps each device's MAC address to the physical port it occupies, which is distinct from ARP, which maps IP addresses to MAC addresses. This demonstration walks through reading a live switch MAC address table and verifying an entry using the ipconfig /all command.
MAC Address Table on a Switch
Just remember that a MAC address table is much different than an ARP, an address resolution protocol. ARP translates IP addresses to MAC addresses, versus a MAC address table, which associates a MAC address with the port it's on.
I have my demo laptop that's plugged into a switch. Looking at the MAC address table on the switch and scrolling through here, what we can see is this entry right here. I don't have a lot plugged into it, so we see a lot of MAC addresses that are associated with this switch, but this is the only other device that's plugged into this. So we see the MAC address of the demo laptop that's plugged in, and the port that it's plugged into. That is a MAC address table.
Just to verify that that is the MAC address of this machine, I'm going to open up a command prompt and do ipconfig /all. This is connected into the Ethernet port, so not the Wi-Fi. Here's the Ethernet port, and here's the MAC address of the port that's plugged into the switch. And it's plugged in on port 14, and we see that port 14. Yes, that is in fact the same MAC address.
So that's what a MAC address table looks like on a switch.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →