Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Is there any way to show IPs using an interface?

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.

2 REPLIES
Bronze

Re: Is there any way to show IPs using an interface?

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

Re:Is there any way to show IPs using an interface?

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

235
Views
0
Helpful
2
Replies