We do not see anything plugged into port Gi1/0/41 so this must be the port we are looking for.
![troubleshoot cisco mac address table troubleshoot cisco mac address table](https://www.cisco.com/c/dam/en/us/td/i/300001-400000/350001-360000/356001-357000/356616.jpg)
We can verify that with a show cdp neighbor command.įrom this switch we can see there are a few Meraki MR access points plugged into it, and we see our connection back to the core switch. Again, know the topology of your network to know if this is not another switch uplink. Run the same command as before to look at the mac address table. We have discovered that the device is not plugged into the core switch so we must connect to the next switch in line to find what port it may be plugged into.Ĭonnect to the other switch via putty in the same way we connected to the first. Here we see the local interface port Ten 1/X/X is connected to another switch (which is model WS-C2960X switch) and the port that interconnects the two switches is Gi1/0/49. In this example we found the port plugged into another switch which will likely be the case as end user devices are not likely to be plugged into your main core switch. We could use the command “show cdp neighbor” to find if this port is connected to another switch. This is where knowing your network topology is important. This will either give the exact port the device is plugged into or the port of the next switch in line it is plugged into.
TROUBLESHOOT CISCO MAC ADDRESS TABLE CODE
Now show the mac address table of the switch by entering either (depending on the code versions): This will show the mac address of the device. The example below shows searching for IP address 10.1.4.40. If it returns no entry, then generate traffic to the IP address by pinging the IP address and rerun the command. Because the device tried to map the IP address to the MAC address using ARP and did not get a response back. First connect using putty to the core switch of the site that is doing the routing. To find the port you must already have a good understanding of the network topology and have access to the switches CLI.
TROUBLESHOOT CISCO MAC ADDRESS TABLE HOW TO
This blog shows how to do so in a Cisco environment trying to find the IP address 10.1.4.40. It may just be that documentation is being created. There could be a compromised device generating too much traffic in your network. It may be necessary to find which switch port a device is plugged into by using its IP address.