Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

ASR1002-X SNMP Subinterface statistics

Hi all,

I have an issue with a couple of ASR's and retrieving certain SNMP interface statistics.  I can collect values from one sub-interface, but not another.

Correct retrieval of statistics (increments as expected)

bash-2.05$ snmpwalk -v 2c -c <community> <router_ip> .

IF-MIB::ifName.29 = STRING: Gi0/0/0.2

bash-2.05$ snmpwalk -v 2c -c <community> <router_ip> .

IF-MIB::ifHCInOctets.29 = Counter64: 195098251378

Not retreiving correct volume (stays constant)

bash-2.05$ snmpwalk -v 2c -c <community> <router_ip> .

IF-MIB::ifName.37 = STRING: Gi0/0/0.1

bash-2.05$ snmpwalk -v 2c -c <community> <router_ip> .

IF-MIB::ifHCInOctets.37 = Counter64: 12660


I have verified that I'm walking the correct ifIndex:

router#sh if-mgr db interface ifName

ifName                                         ifIndex

Gi0/0/0.1                                       37

Gi0/0/0.2                                       29

Here is the appropriate bits of the config:

interface GigabitEthernet0/0/0

description Circuit

bandwidth 800000

no ip address

negotiation auto

service-policy output policy_name ! interface GigabitEthernet0/0/0.1

description VPN1

bandwidth 545000

encapsulation dot1Q 1 native

ip address ! interface GigabitEthernet0/0/0.2

description VPN2

bandwidth 20000

encapsulation dot1Q 101

ip vrf forwarding vrf_name

ip address

Show ver if it's relevant:

Cisco IOS XE Software, Version BLD_V153_3_S_XE310_THROTTLE_LATEST_20130710_194823

Cisco IOS Software, ASR1000 Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Experimental Version 15.3(20130710:211453) [v153_3_s_xe310_throttle-BLD-BLD_V153_3_S_XE310_THROTTLE_LATEST_20130710_194823-ios 191]

Copyright (c) 1986-2013 by Cisco Systems, Inc.

So my question is......If I can retreive correct statistics from G0/0/0.2 why not from G0/0/0.1

Any clues ?


Everyone's tags (4)
New Member

Sorry to resurrect an old

Sorry to resurrect an old thread but has anyone got any ideas on this?

CreatePlease to create content