Cisco switch port to ip address mapping

cisco

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?

Best Answer

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.

Related Topic