Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

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.

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
add comment

Your Answer

 
discard

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.