[c-nsp] Cisco IOS: Polling OSPF External LSA count via SNMP
Mike - st257
silvertip257 at gmail.com
Sat Jun 4 20:29:50 EDT 2016
Thanks.
My reply is inline.
Date: Fri, 3 Jun 2016 23:04:29 +0000
> From: Lukas Tribus <luky-37 at hotmail.com>
> To: Mike - st257 <silvertip257 at gmail.com>, "cisco-nsp at puck.nether.net"
> <cisco-nsp at puck.nether.net>
> Subject: Re: [c-nsp] Cisco IOS: Polling OSPF External LSA count via
> SNMP
> Message-ID:
> <
> AM3PR08MB01023B5907CCB2CD9FC73FEAED590 at AM3PR08MB0102.eurprd08.prod.outlook.com
> >
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Mike,
>
>
> > I have a Cisco 7200VXR with a NPE-G1 that I'm polling for OSPF External
> > LSA counts, but it returns zero.
> > snmpget -On -v2c -c <COMMUNITY> <HOST> .1.3.6.1.2.1.14.1.9.0
> > http://www.oidview.com/mibs/0/OSPF-MIB.html
>
> 1.3.6.1.2.1.14.1.9.0 does not exist.
>
Rats, I fat fingered that somehow ... likely during my testing/snmpwalking.
> 1.3.6.1.2.1.14.1.9 is ospfOriginateNewLSAs, which is not what you want [1].
> 1.3.6.1.2.1.14.1.6 is ospfExternLSACount, which is probably what you want
> [2].
>
Yes, the OID ending in 6 is the one I want.
>
> So I would guess the get command would have to look like this (trailing
> six instead of nine-point-zero):
> snmpget -On -v2c -c <COMMUNITY> <HOST> .1.3.6.1.2.1.14.1.6
>
Now that my typo is out of the way, I receive a zero value for the proper
OID.
.1.3.6.1.2.1.14.1.6 = No Such Instance currently exists at this OID
.1.3.6.1.2.1.14.1.6.0 = Gauge32: 0
I'm able to successfully poll another router and get the proper value
returned.
Both routers are running the same IOS image.
Thanks!
--
---~~.~~---
Mike
// SilverTip257 //
More information about the cisco-nsp
mailing list