11-14-2013 03:17 PM
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> .1.3.6.1.2.1.31.1.1.1.1.29
IF-MIB::ifName.29 = STRING: Gi0/0/0.2bash-2.05$ snmpwalk -v 2c -c <community> <router_ip> .1.3.6.1.2.1.31.1.1.1.6.29
IF-MIB::ifHCInOctets.29 = Counter64: 195098251378
Not retreiving correct volume (stays constant)
bash-2.05$ snmpwalk -v 2c -c <community> <router_ip> .1.3.6.1.2.1.31.1.1.1.1.37IF-MIB::ifName.37 = STRING: Gi0/0/0.1
bash-2.05$ snmpwalk -v 2c -c <community> <router_ip> .1.3.6.1.2.1.31.1.1.1.6.37IF-MIB::ifHCInOctets.37 = Counter64: 12660
bash-2.05$
I have verified that I'm walking the correct ifIndex:
router#sh if-mgr db interface ifName
ifName ifIndexGi0/0/0.1 37
Gi0/0/0.2 29
Here is the appropriate bits of the config:
interface GigabitEthernet0/0/0
description Circuitbandwidth 800000
no ip addressnegotiation auto
service-policy output policy_name ! interface GigabitEthernet0/0/0.1description VPN1
bandwidth 545000encapsulation dot1Q 1 native
ip address 1.1.1.1 255.255.255.252 ! interface GigabitEthernet0/0/0.2description VPN2
bandwidth 20000encapsulation dot1Q 101
ip vrf forwarding vrf_nameip address 2.2.2.2 255.255.255.252
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 ?
Anthony
02-03-2017 07:21 AM
Sorry to resurrect an old thread but has anyone got any ideas on this?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide