Many times it is required to get the trace from system IP to switch port it is plugged in. It can be for MAC binding or for other security reasons. So, tracing LAN cable manually from each system to switch can be a tedious task plus it is not the smart way to perform this. So, today I will tell you how you can easily map IP-MAC easily from any terminal emulator program.Here, I will proceed with Putty.
Before beginning, I assume your switch is a layer 2 device, i.e it can perform only switching.
So, connect to your Router and Switch through Putty separately. In router window, type sh arp or sh ip arp. This will give you a list of all devices IP which is connected to router along with their MAC addresses.
And in switch window, type sh mac address-table. This will generate a list of all devices' MAC address along with the port they are associated.
Now, just map system and port number with the help of matching MAC addresses. Simple.
Happy to help!!
Before beginning, I assume your switch is a layer 2 device, i.e it can perform only switching.
So, connect to your Router and Switch through Putty separately. In router window, type sh arp or sh ip arp. This will give you a list of all devices IP which is connected to router along with their MAC addresses.
And in switch window, type sh mac address-table. This will generate a list of all devices' MAC address along with the port they are associated.
Now, just map system and port number with the help of matching MAC addresses. Simple.
Happy to help!!

