[c-nsp] BGP peer state SNMP on the 7609 ios SRB

Justin Shore justin at justinshore.com
Mon Jun 4 10:17:07 EDT 2007


Gordon Bezzina wrote:
> Hi,
> 
> Another teething problem with 7609 + Sup7203BXL using IOS 12.2(33)SRB.
> 
> On my old 7513 with IOS Version 12.3(16), RELEASE SOFTWARE (fc4), I used to
> Use the following OID "1.3.6.1.2.1.15.3.1.2"
> 
> Now on the new router this OID returns Not Configured. Has cisco changed the
> 
> Oid or is there a config change to make?
> 
> Current SNMP configs are:
> 
> c7600a#sh run | inc snmp
>  no snmp trap link-status
>  no snmp trap link-status
> snmp-server engineID local 0000000902000030945D5ED0
> snmp-server community XXXXXXXXXX RO
> snmp-server community YYYYYYYYYY RW 99
> snmp-server ifindex persist
> snmp-server enable traps bgp state-changes
> snmp-server enable traps hsrp
> snmp-server enable traps sonet
> snmp-server enable traps envmon fan shutdown supply temperature status
> snmp-server host A.B.C.D monitor 
> snmp ifmib ifindex persist
> c7600a#


Gordon,

I'm using Nagios's check_bgp plugin to monitor our BGP sessions and it's 
working great.  Your OID is correct.  I sniffed a query from my NOC 
server and see that it's querying 1.3.6.1.2.1.15.3.1.2 on one of our 
7600s running SRB and is getting a response from 
1.3.6.1.2.1.15.3.1.2.a.b.c.d where a.b.c.d are the IPs of the remote BGP 
peers listed once per entry in the bulk SNMP response.

I believe the problem is your method of querying.  I take it that you're 
using a simple snmpget, correct?  Try snmpwalk on the base OID instead. 
    snmpget does a SNMP get-request (or a single exact match request) 
whereas the snmpwalk does a get-next-request or a bulk request.  A SNMP 
buff could explain it better than I but that's the gist of it.

Justin






More information about the cisco-nsp mailing list