[c-nsp] Stupid SNMP tricks.

Karl Gaissmaier karl.gaissmaier at uni-ulm.de
Thu May 7 08:12:54 EDT 2009


Hi Drew,

Drew Weaver schrieb:
> Hey all, I'm trying to script a few things using SNMP (data collection, mainly).
> 
> I've essentially found the OIDs I need, but it seems like there is no way to separate routes by how they originate.
> 
> For example if you do an snmpwalk ... ipRouteNextHop, it shows you all of the routes in the entire system including EIGP, IGP, locally originated.
> 
> Does anyone know of any way to only get information for a specific type of route?
> 
> In my case I only want to see the locally originated routes.

why not using the ipRouteProto (1.3.6.1.2.1.4.21.1.9) or
the ipCidrRouteTable (1.3.6.1.2.1.4.24.4) of the IP-FORWARD-MIB?

Greetings
	Charly


More information about the cisco-nsp mailing list