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: [email protected] [mailto:[email protected]] On Behalf Of Drew Weaver Sent: Wednesday, May 06, 2009 10:37 PM To: '[email protected]' 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 [email protected] 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. ************************************************************************************ _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
