Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Command to find IPs

What is the command to find out the IP addresses that are found from each switchport?

eg. Port 1/0/1 - 192.168.1.1

Port 1/0/2 - 192.168.1.2

3 REPLIES
Silver

Re: Command to find IPs

Hi,

Show ip arp should give you what you are looking for.

HTH

LR

Re: Command to find IPs

Cisco Employee

Re: Command to find IPs

You will have to use the combination of the 'show arp' & the 'show mac-address-table address' command to find out what port is associated with what switchport.

Using the 'show arp | in 192.168.0.1' you can find the mac address for the device which has this IP.

Using the command 'show mac-address-table address ' you can find what port is this mac-address learnt on & hence the device connected on.

Hope that helps !!

382
Views
0
Helpful
3
Replies
CreatePlease to create content