07-19-2013 12:39 PM - edited 03-07-2019 02:30 PM
I simply need to see a list of all IPs using a Cisco 2800 series router. I know I can run a show lldp command on my switches to get a list of attached devices, and I know this is a layer2 command. Is there any way to get a list of IPs that are using that specific router/gateway? I'm needing to move them off of this gateway and the many different OSes our end-user devices use, and the number of them, make this a daunting task if it cannot be done from the router.
07-19-2013 12:57 PM
Hello Umbernaut,
You can try sh cdp nei det
This will get all the IP addresses of your CDP neighbours.
If you have only LLDP neighbours, it is a tough call. Go to the router that does inter-vlan routing and issue the command 'sh ip arp' to see if the MAC address is one that has been resolved recently. In that case, the IP address associated with that MAC address is the IP of the device connected to that port.
If the mac address will not yield the IP address. You can track the port down and once you do that, look at the ARP table for that segment.
'show ip arp | include
Thanks,
Vijay
07-20-2013 02:15 PM
You could run a netflow monitor for a few days or more and collect what is traversing the specific interface.
Sent from Cisco Technical Support Android App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide