if you spend any time working on networks you are going to come across the need to identify a device connected to a port on a switch. I use primarily cisco equipment and finding the IPs can be quite a pain in the neck if you are searching the mac on the interface then looking for it in the arp table. Well there is a better way to do this.

first go into config mode

conf t

enable device tracking with the following commands. I usually limit it to specific interfaces to be safe.

ip device tracking

interface range g0/1 – 24

ip device tracking max 10

end

 

— Wait for 15 seconds —

now exit config mode and run

 sh ip device tracking

or if you know what interface, “sh ip device tracking interface ”

you should see something like this for output

show ip device tracking int gig 2/0/13
IP Device Tracking = Enabled
IP Device Tracking Probe Count = 3
IP Device Tracking Probe Interval = 30
IP Device Tracking Probe Delay Interval = 0
———————————————————————–
IP Address MAC Address Vlan Interface STATE
———————————————————————–
172.16.49.117 0026.73c7.b0cb 2 GigabitEthernet2/0/13 ACTIVE

I usually then go back into config mode and no out the IP tracking statement.

By Len