[c-nsp] ASR9k IPv6 interface stats in 64bit

Tassos Chatzithomaoglou achatz at forthnetgroup.gr
Mon Jul 22 17:52:01 EDT 2013


Something must have changed in the latest releases...

* router1 *

achatz$ snmpwalk -v2c -c xxx router1 .1.3.6.1.2.1.4.31.3.1.6.2
ip.31.3.1.6.2.11 = Counter64: 5573037
ip.31.3.1.6.2.12 = Counter64: 5323016
ip.31.3.1.6.2.16 = Counter64: 197084118
ip.31.3.1.6.2.17 = Counter64: 317831472457
ip.31.3.1.6.2.82 = Counter64: 61439741
ip.31.3.1.6.2.84 = Counter64: 572496201810
ip.31.3.1.6.2.85 = Counter64: 39399774160245
ip.31.3.1.6.2.86 = Counter64: 8818969673279
ip.31.3.1.6.2.96 = Counter64: 1614132009546
ip.31.3.1.6.2.97 = Counter64: 1557600531409
ip.31.3.1.6.2.99 = Counter64: 1696967533884
ip.31.3.1.6.2.100 = Counter64: 309084384433
ip.31.3.1.6.2.104 = Counter64: 162872480369507
ip.31.3.1.6.2.116 = Counter64: 1567774824445
ip.31.3.1.6.2.119 = Counter64: 938421138030
ip.31.3.1.6.2.127 = Counter64: 2375217
ip.31.3.1.6.2.129 = Counter64: 333188857913
ip.31.3.1.6.2.131 = Counter64: 19672174703
ip.31.3.1.6.2.165 = Counter64: 13355035478

achatz$ snmpwalk -v2c -c xxx router1 sysdescr
system.sysDescr.0 = Cisco IOS XR Software (Cisco ASR9K Series),  Version 4.1.2[Default]
Copyright (c) 2012 by Cisco Systems, Inc.

* router2 *

achatz$ snmpwalk -v2c -c xxx router2 .1.3.6.1.2.1.4.31.3.1.6.2
ip.31.3.1.6.2 = No Such Instance currently exists

achatz$ snmpwalk -v2c -c xxx router2 sysdescr
system.sysDescr.0 = Cisco IOS XR Software (Cisco ASR9K Series),  Version 4.2.3[Default]
Copyright (c) 2013 by Cisco Systems, Inc.


...unless IPv6 needs first to be activated before making the snmpwalk.
I'll probably need to do more tests.

--
Tassos

Nick Hilliard wrote on 23/7/2013 00:17:
> On 22/07/2013 20:44, Tassos Chatzithomaoglou wrote:
>> We have been using the following on ASR9k:
>>
>> object name 	oid
>> ipIfStatsHCInOctets for IPv4 	1.3.6.1.2.1.4.31.3.1.6.1
>> ipIfStatsHCInOctets for IPv6 	1.3.6.1.2.1.4.31.3.1.6.2
>> ipIfStatsHCOutOctets for IPv4 	1.3.6.1.2.1.4.31.3.1.33.1
>> ipIfStatsHCOutOctets for IPv6 	1.3.6.1.2.1.4.31.3.1.33.2
>>
>>
>> According to http://www.cisco.com/en/US/docs/ios-xml/ios/ipv6_nman/configuration/xe-3s/ip6-mibs.html#GUID-F646C4CE-BCE5-4144-A8AA-ABF743FAAD55
> er, are you talking about asr1k rather than asr9k?  on asr9k, i'm getting:
>
>> /home/nick# snmpwalk -On -v 2c -c blah hostname.example.com 1.3.6.1.2.1.4.31.3.1
>> .1.3.6.1.2.1.4.31.3.1 = No Such Object available on this agent at this OID
> i.e. nothing down that oid tree.
>
> Nick
> (who actually read the email before replying this time)
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>

Robert Williams wrote on 22/7/2013 23:00:
>
> Hi Tassos,
>
>  
>
> Thanks very much for that, can I ask what version you are running and on which specific hardware platform?
>
>  
>
> I found those OIDs in my Googling but I have no results for those when walking them.
>
>  
>
> Within the tree: 1.3.6.1.2.1.4.31.3.1.X      I have X = 3,5,30,32,34,36,38,40
>
>  
>
> But nothing for .6 and .33
>
>  
>
> It’s like they are missing? I’d be curious to know exactly what packages and version you are running?
>
>  
>
> Robert Williams
> Custodian Data Centre
> Email: Robert at CustodianDC.com
> http://www.CustodianDC.com
>



More information about the cisco-nsp mailing list