cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
124598
Views
16
Helpful
15
Replies

How to find the IP address of a device connected to a specific port in cisco 2960??

ahmedeyaadh
Level 1
Level 1

By using show mac address-table interface I can see the mac's of the devices connected to the interface, is there any way that I can find the IP address on the device connected that perticular interface, lets say for example I connect a PC to fast ethernet port 4 of cisco 2960, by using:

show mac address-table interface fastEthernet0/4

I get the result as given below,

          Mac Address Table

-------------------------------------------

Vlan    Mac Address       Type        Ports

----    -----------       --------    -----

999    001e.8c16.c362    DYNAMIC     Fa0/4

Total Mac Addresses for this criterion: 1

now from the switch it self I want to see whats the IP on the device 001e.8c16.c362. How can I do it?

15 Replies 15

itasuporte
Level 1
Level 1

Everyone says "switch layer 2 don´t work on IP layer, it works only with Hardware Address/MAC".

Try to configure the Cisco 2960x to enable device tracking:

SW152#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW152(config)#interface range gigabitEthernet 1/0/1-24
SW152(config-if-range)#switchport access vlan <x>
SW152(config-if-range)#switchport mode access
SW152(config-if-range)#ip device tracking maximum 65535
SW152(config-if-range)#storm-control multicast level 10.00
SW152(config-if-range)#exit
SW152(config)#exit
SW152#write memory

 

Now you can search for an IP using:

#show ip device tracking ip <x.y.z.w>