Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I pull a list of the IP addresses that each device has that is connected to the switch. Example:

Port: gi1/15 =

Port: gi1/16 =

What command do you suggest?

share|improve this question
up vote 1 down vote accepted

I don't believe there is a command for this directly. You can do show arp to pull the ARP table to show IP's that correlate to MAC addresses, and then do show mac-address-table to pull the MAC table to see what ports each MAC address is coming from.

share|improve this answer
And if it's a layer 2 switch you may need to find the nearest layer 3 device to show the arp table. – Paul Feb 23 '11 at 3:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.