title: How to snmpset counter32 OIDs using netsnmp
body: <p>I'm trying to use snmpset from netsnmp to set an OID value of type Counter32, but I can't figure out which datatype to specify?</p>
  
  <p>Looking at ./snmpset -h I see the following:</p>
  
  <pre><code>  TYPE: one of i, u, t, a, o, s, x, d, b, n
          i: INTEGER, u: unsigned INTEGER, t: TIMETICKS, a: IPADDRESS
          o: OBJID, s: STRING, x: HEX STRING, d: DECIMAL STRING, b: BITS
          U: unsigned int64, I: signed int64, F: float, D: double
  </code></pre>
  
  <p>None of which are counter, I've tried integer and unsigned int without success:</p>
  
  <pre><code>./snmpset -v2c -cprivate 135.115.155.132 1.3.6.1.2.1.67.1.1.1.1.5.0 u 321
  Bad variable type (Type of attribute is Counter32, not Unsigned32)
  </code></pre>
  
  <p>Thoughts?</p>
  
  <p>Thanks for any ideas</p>