cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2607
Views
0
Helpful
4
Replies

Wrong vlaue of OIDs of indexes for class-map

hello 

i have a policy-map

with to class

 

policy-map CheckBand-BandPerUsr
 class BandPerUsr
  police cir 10000000000
 class class-default
  police cir 10000000000

 

 

i need to get  a (Post Policy Size) by snmp

i look and find a right oid but value was wrong 

 

 

snmpwalk -v2c -c ABCDED X.X.X.X iso.3.6.1.4.1.9.9.166.1.15.1.1.11
iso.3.6.1.4.1.9.9.166.1.15.1.1.11.1298180580.65536 = Gauge32: 4012315000
iso.3.6.1.4.1.9.9.166.1.15.1.1.11.1298180580.131072 = Gauge32: 376176704

 

 

Gauge32: 376176704 

and now the traffic for class-default is 4,600 Mbps

 

sh policy-map target
 Port-channel7: EFP 1045

  Service-policy input: CheckBand-BandPerUsr

    Class-map: BandPerUsr (match-all)
      33378869376 packets, 33153538986508 bytes
      5 minute offered rate 4025078000 bps, drop rate 0000 bps
      Match: access-group name BandPerUsr
      police:
          cir 10000000000 bps, bc 33292000 bytes
        conformed 33374131354 packets, 33148621833696 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop
        conformed 4025078000 bps, exceeded 0000 bps

    Class-map: class-default (match-any)
      41735372388 packets, 38731449873476 bytes
      5 minute offered rate 4665204000 bps, drop rate 0000 bps
      Match: any
      police:
          cir 10000000000 bps, bc 33292000 bytes
        conformed 41735372388 packets, 38731449873476 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop
        conformed 4665204000 bps, exceeded 0000 bps

 

 

i note something

we the traffic above a 4000 Mbps 

i get correct value like 4012315000 after i /1024 / 1024 i get a correct value ( 4012 Mbps)

but when traffics off class-map is above of 4100Mbps

i get uncorrected Gauge32 value wit 9 digt only 

 

 

 

 

4 Replies 4

ceporras
Cisco Employee
Cisco Employee

Hey,

I see you are using the below OID which is 32bit counter based, these OIDs are generally limited to around 4.2G and won't give any values higher than that.

Object cbQosCMPostPolicyBitRate
OID 1.3.6.1.4.1.9.9.166.1.15.1.1.11

 

 

For this reason there are 64bit versions of these OIDs which basically do the same but can store a higher counter. Give it a try with this one:

Object cbQosCMPostPolicyBitRate64
OID 1.3.6.1.4.1.9.9.166.1.15.1.1.29

snmpwalk -v2c -c xxxx IP 1.3.6.1.4.1.9.9.166.1.15.1.1.29
iso.3.6.1.4.1.9.9.166.1.15.1.1.29 = No Such Instance currently exists at this OID

this list of snmp
iso.3.6.1.4.1.9.9.166.1.15.1.1.1.672.65536 = Counter32: 139
iso.3.6.1.4.1.9.9.166.1.15.1.1.1.672.131072 = Counter32: 124
iso.3.6.1.4.1.9.9.166.1.15.1.1.1.672.196608 = Counter32: 149
iso.3.6.1.4.1.9.9.166.1.15.1.1.2.672.65536 = Counter32: 4263487743
iso.3.6.1.4.1.9.9.166.1.15.1.1.2.672.131072 = Counter32: 2360696683
iso.3.6.1.4.1.9.9.166.1.15.1.1.2.672.196608 = Counter32: 1106733426
iso.3.6.1.4.1.9.9.166.1.15.1.1.3.672.65536 = Counter64: 601263941887
iso.3.6.1.4.1.9.9.166.1.15.1.1.3.672.131072 = Counter64: 534936641387
iso.3.6.1.4.1.9.9.166.1.15.1.1.3.672.196608 = Counter64: 641056860530
iso.3.6.1.4.1.9.9.166.1.15.1.1.4.672.65536 = Counter32: 196193
iso.3.6.1.4.1.9.9.166.1.15.1.1.4.672.131072 = Counter32: 159165
iso.3.6.1.4.1.9.9.166.1.15.1.1.4.672.196608 = Counter32: 147770
iso.3.6.1.4.1.9.9.166.1.15.1.1.5.672.65536 = Counter32: 2621620907
iso.3.6.1.4.1.9.9.166.1.15.1.1.5.672.131072 = Counter32: 2261110417
iso.3.6.1.4.1.9.9.166.1.15.1.1.5.672.196608 = Counter32: 360083042
iso.3.6.1.4.1.9.9.166.1.15.1.1.6.672.65536 = Counter64: 842645140325035
iso.3.6.1.4.1.9.9.166.1.15.1.1.6.672.131072 = Counter64: 683610730778257
iso.3.6.1.4.1.9.9.166.1.15.1.1.6.672.196608 = Counter64: 634667677412962
iso.3.6.1.4.1.9.9.166.1.15.1.1.7.672.65536 = Gauge32: 3043531704
iso.3.6.1.4.1.9.9.166.1.15.1.1.7.672.131072 = Gauge32: 364562704
iso.3.6.1.4.1.9.9.166.1.15.1.1.7.672.196608 = Gauge32: 913256704
iso.3.6.1.4.1.9.9.166.1.15.1.1.8.672.65536 = Counter32: 196193
iso.3.6.1.4.1.9.9.166.1.15.1.1.8.672.131072 = Counter32: 159165
iso.3.6.1.4.1.9.9.166.1.15.1.1.8.672.196608 = Counter32: 147770
iso.3.6.1.4.1.9.9.166.1.15.1.1.9.672.65536 = Counter32: 2621620907
iso.3.6.1.4.1.9.9.166.1.15.1.1.9.672.131072 = Counter32: 2261110417
iso.3.6.1.4.1.9.9.166.1.15.1.1.9.672.196608 = Counter32: 360083042
iso.3.6.1.4.1.9.9.166.1.15.1.1.10.672.65536 = Counter64: 842645140325035
iso.3.6.1.4.1.9.9.166.1.15.1.1.10.672.131072 = Counter64: 683610730778257
iso.3.6.1.4.1.9.9.166.1.15.1.1.10.672.196608 = Counter64: 634667677412962
iso.3.6.1.4.1.9.9.166.1.15.1.1.11.672.65536 = Gauge32: 3043531704
iso.3.6.1.4.1.9.9.166.1.15.1.1.11.672.131072 = Gauge32: 364562704
iso.3.6.1.4.1.9.9.166.1.15.1.1.11.672.196608 = Gauge32: 913256704
iso.3.6.1.4.1.9.9.166.1.15.1.1.12.672.65536 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.12.672.131072 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.12.672.196608 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.13.672.65536 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.13.672.131072 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.13.672.196608 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.14.672.65536 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.14.672.131072 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.14.672.196608 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.15.672.65536 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.15.672.131072 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.15.672.196608 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.16.672.65536 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.16.672.131072 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.16.672.196608 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.17.672.65536 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.17.672.131072 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.17.672.196608 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.18.672.65536 = Gauge32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.18.672.131072 = Gauge32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.18.672.196608 = Gauge32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.19.672.65536 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.19.672.131072 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.19.672.196608 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.20.672.65536 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.20.672.131072 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.20.672.196608 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.21.672.65536 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.21.672.131072 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.21.672.196608 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.22.672.65536 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.22.672.131072 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.22.672.196608 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.23.672.65536 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.23.672.131072 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.23.672.196608 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.24.672.65536 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.24.672.131072 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.24.672.196608 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.25.672.65536 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.25.672.131072 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.25.672.196608 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.26.672.65536 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.26.672.131072 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.26.672.196608 = Counter32: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.27.672.65536 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.27.672.131072 = Counter64: 0
iso.3.6.1.4.1.9.9.166.1.15.1.1.27.672.196608 = Counter64: 0


the last one is 27 , that's no 29

same issue happen with my ASR1002-X Router did you found any solution 

Review Cisco Networking for a $25 gift card