cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1469
Views
0
Helpful
2
Replies

Get connected IPs via SNMP

damiendunphy
Level 1
Level 1

Hi there, can someone tell me the OIDs needde to obtain a list of connected IP addresses and which port they are connected to? I understand that a list will appear for one port if that port itself is connected to another switch?

Thanks.

2 Replies 2

Vinod Arya
Cisco Employee
Cisco Employee

These procedures have been asked before in forum. Please use these links as reference which has information you're looking for :

https://supportforums.cisco.com/discussion/12090896/snmp-how-get-list-ip-addresses-and-corresponding-interface-names

https://supportforums.cisco.com/discussion/9675406/get-ip-addres-interface-snmp

-Thanks

Vinod

**Encourage Contributors. RATE Them.**

 
-Thanks Vinod **Rating Encourages contributors, and its really free. **

Thanks Vinod. I've found lots of people asking for the IP address connected to each interface but, like the links above, the answers always come back with the IP address OF the interface (i.e. VLAN gateway address) but I need to show a list of IPs AND which interface they can be found on, wheather directly connected or connected via another switch(s). I need to build a network map of what's connected to what, just like the rather expensive What's Up Gold does.

If I walk the OID 1.3.6.1.2.1.4.22.1 it seems to get close, but I think the indexes still refer to the VLAN id as opposed to the switchport id?

Thanks for the help ;)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: