[c-nsp] Stupid SNMP tricks.

Ziv Leyes zivl at gilat.net
Sun May 10 09:29:28 EDT 2009


Also, you could use a combination of ipRouteNextHop followed by ipRouteProto which gives you the info about every routing type (BGP, local, etc)


Hope this helps,
Ziv




-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Drew Weaver
Sent: Wednesday, May 06, 2009 10:37 PM
To: 'cisco-nsp at puck.nether.net'
Subject: [c-nsp] Stupid SNMP tricks.

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.

Thanks,
-Drew

_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
 
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************

 
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************



More information about the cisco-nsp mailing list