Jay, The basic BGP mibs are found in this file... ftp://ftpeng.cisco.com/pub/mibs/v2/BGP4-MIB.my From that you can deduce the OID's for polling the routers (even 12.3 train) and collect BGP info. Alas you can't find out the one value that Jared pointed out... the number of routes heard from a peer. :-( If you add the file above to your mib's directory then you can do a... snmpwalk -v 1 $ROUTER_IP $ROUTE_COMMUNITY bgp.bgpPeerTable.bgpPeerEntry ...but you will only get the following entries in your response... bgpPeerIdentifier.A.B.C.D bgpPeerState.A.B.C.D bgpPeerAdminStatus.A.B.C.D bgpPeerNegotiatedVersion.A.B.C.D bgpPeerLocalAddr.A.B.C.D bgpPeerLocalPort.A.B.C.D bgpPeerRemoteAddr.A.B.C.D bgpPeerRemotePort.A.B.C.D bgpPeerRemoteAs.A.B.C.D bgpPeerInUpdates.A.B.C.D bgpPeerOutUpdates.A.B.C.D bgpPeerInTotalMessages.A.B.C.D bgpPeerOutTotalMessages.A.B.C.D bgpPeerLastError.A.B.C.D bgpPeerFsmEstablishedTransitions.A.B.C.D bgpPeerFsmEstablishedTime.A.B.C.D bgpPeerConnectRetryInterval.A.B.C.D bgpPeerHoldTime.A.B.C.D bgpPeerKeepAlive.A.B.C.D bgpPeerHoldTimeConfigured.A.B.C.D bgpPeerKeepAliveConfigured.A.B.C.D bgpPeerMinASOriginationInterval.A.B.C.D bgpPeerMinRouteAdvertisementInterval.A.B.C.D bgpPeerInUpdateElapsedTime.A.B.C.D ...where A.B.C.D is the IP address of the peer. You maybe better off doing a poll of the router via a command line and plotting the values after scraping the text somewhat! Martin ----------------------- At 12:34 PM 9/5/2003 -0500, Austad, Jay wrote:
Doh, unfortunately, I'm on the 12.3 train, and that OID does not exist. I could have sworn that I saw some MRTG graphs awhile back where people were monitoring how many prefixes they had and other sorts of things. Were they scripting this somehow or pulling via SNMP?
-----Original Message----- From: Jared Mauch [mailto:jared@puck.Nether.net] Sent: Friday, September 05, 2003 10:27 AM To: Austad, Jay Cc: nanog@merit.edu Subject: Re: SNMP OID's for BGP monitoring
If you are running 12.0(26)S you can now graph the number of routes you receive from a BGP peer.
Here's the OID for those that have long-awaited such a feature.
.1.3.6.1.4.1.9.9.187.1.2.4.1.1
Now why this is missing from their "newer" 12.2 and 12.3 software is something that you will need to ask your cisco rep.
- Jared
On Fri, Sep 05, 2003 at 10:23:29AM -0500, Austad, Jay wrote:
What OID's are people using to monitor/graph BGP stats on
Cisco routers?
-jay
-- Jared Mauch | pgp key available via finger from jared@puck.nether.net clue++; | http://puck.nether.net/~jared/ My statements are only mine.