Hello i have a little problem polling SNMpv2 64 bits counters.
im getting nan while polling a serial interface.
Actually what is happening is that i am not getting any value using the ifHCinOctets oid.
when i run the snmpwalk in command line tought it seems i have some ifindex missing
[user@XXXXX ~]$ snmpwalk -v2c -c "XXXXXX" XXXXXX 1.3.6.1.2.1.2.2.1.10
IF-MIB::ifInOctets.1 = Counter32: 0
IF-MIB::ifInOctets.2 = Counter32: 25719004
IF-MIB::ifInOctets.3 = Counter32: 8351975
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifInOctets.6 = Counter32: 0
[user@XXXXX ~]$ snmpwalk -v2c -c "XXXXXX" XXXXXX 1.3.6.1.2.1.31.1.1.1.6
IF-MIB::ifHCInOctets.1 = Counter64: 0
IF-MIB::ifHCInOctets.2 = Counter64: 25717956
IF-MIB::ifHCInOctets.6 = Counter64: 0
[user@XXXXX ~]$ snmpwalk -v2c -c "XXXXXX" XXXXXX iftable
....
IF-MIB::ifDescr.1 = STRING: FastEthernet0/0
IF-MIB::ifDescr.2 = STRING: FastEthernet0/1
IF-MIB::ifDescr.3 = STRING: Serial0/0/0
IF-MIB::ifDescr.4 = STRING: Null0
IF-MIB::ifDescr.6 = STRING: Loopback0
....
So i wonder , is it normal not to have the ifindex for the Serial interface for a SNMPv2C enabled router ?
Polling of SNMPv2c 64 bits counters
Moderators: Developers, Moderators
Thanks very much for your reply.
I did check do a little bit of search too on cisco website and found this :
http://www.cisco.com/en/US/tech/tk648/t ... 69ac.shtml
I did check do a little bit of search too on cisco website and found this :
Link :For interfaces that operate at 20,000,000 (20 million) bits per second or less, you must use 32-bit byte and packet counters. For interfaces that operate faster than 20 million bits per second, and slower than 650,000,000 bits per second, you must use 32-bit packet counters and 64-bit octet counters. For interfaces that operate at 650,000,000 bits/second or faster, 64-bit packet and octet counters must be used.
Correspondingly, Cisco IOS® Software does not support 64-bit counters for interface speeds of less than 20 Mbps. This means that 64-bit counters are not supported on 10 Mb Ethernet ports, only 100 Mb Fast-Ethernet and other high speed ports support 64-bit counters.
http://www.cisco.com/en/US/tech/tk648/t ... 69ac.shtml
Who is online
Users browsing this forum: No registered users and 1 guest