North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: SNMP and BGP

  • From: Travis Dawson
  • Date: Thu Mar 21 18:26:48 2002



The snmp root for BGP is .1.3.6.1.2.1.15 with the specific OID for which peer gave you the prefix at .1.3.6.1.2.1.15.6.
There is also come stuff under enterprises.cisco but not much more info or at least I can't figure out where anything really useful is in the cisco bgp mib. (anyone else??)
I will send you the generic MIB file if you need it. Its on the cisco site listed as BGP4-MIB-V1SMI.my

I warn you to NOT do an snmpwalk on that table on a router with multiple full routing tables, it can take forever and will push the CPU on the router to the max (not a happy thing). Load a router with a partial table and poll that to test it out. Or if you just want what actually makes it into the routing table you might want to look at . 1.3.6.1.2.1.4.21.1 .
Enjoy.

At 03:11 PM 3/21/2002, Adam Spann wrote:

Hi Guys and Ladies,

I was wondering if anyone had worked out how to SNMP poll a cisco router for
BGP information.
I know that Cisco has support for this but I can't work out the SNMP path to
actually reach the BGP Mib portion.

I am looking to obtain the number of route prefixes recieved for a given BGP
Peer. I can currently do this using some perl. But I would like to move to
SNMP if possible.

If anyone has any pointers, and ideally the actual MIB path to at least
reach the BGP Mib I would be greatful.

Kind Regards,



Adam Spann
Network Operations Engineer

Email: [email protected]
Phone: 61 2 8304 9300 Fax: 61 2 9317 5856
631-637 Gardners Road Mascot NSW 2020
Web: www.au.psi.net
-tdawson
-Network Geek (Bit Pusher)
-BlueMartini Software