cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
712
Views
0
Helpful
3
Replies

Command to find IPs

laichenkang
Level 1
Level 1

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 3

lee.reade
Level 4
Level 4

Hi,

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

HTH

LR

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 !!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: