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

Port: gi1/15 = 192.168.1.4

Port: gi1/16 = 192.168.1.5

What command do you suggest?

link|improve this question

59% accept rate
feedback

2 Answers

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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