Question : Retrieve routing table via SNMP RO Access

I have RO SNMP access to a Cisco 2851, is it possible to get the routing table out of the device using only SNMP - if so, how?

Thanks in advance to anyone with any ideas :)

Answer : Retrieve routing table via SNMP RO Access

http://sourceforge.net/projects/tftpterminal/files/Extras/SNMP%20WALKER.zip/download

The above is a SNMP walker, if you know the routing table you should be able to get the oids.

1.3.6.1.2.1.4.21.1. 1.129.44.25.0.0 172.25.0.0 < my network address

1.3.6.1.2.1.4.21.1.11.129.44.25.0.0  255.255.255.0 <my subnet mask

it looks like the oids might be dependant on the ip of the network address.

 

Greg

Random Solutions  
 
programming4us programming4us