Re: HOW to use snmpset to set value of a COUNTER64 type OID parameter
lucky goyal <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi ALL, Thanks for your reply Dave. >> Whenthe 'U' is used to represent the set variable type (snmpset -v2c -cpublic >> localhost MY-MIB::Variable.1 U 1234 ) the variable type sent in the SNMP SET >> request is ASN_OPAQUE >That is correct. >The type 'U' indicates the (non-standard) type "Unsigned64", >which is implemented as an Opaque-wrapped type. >> whereas the variable type for COUNTER64 is ASN_COUNTER64. >The type character for Counter64 is 'C', not 'U' OK >But please note that it is not valid to define a Counter or Counter64 >object with write-access, and hence these types cannot be used with >a SET request. See RFC 2578, sections 7.1.6 & 7.1.10 But I need to define an object of "Unsigned64" type with read-write access. I did not find any SYNTAX notation other than "Counter64" which serves this purpose. Kindly let me know if there is any other standard SYNTAX notation which I can use to represent an object of unsigned 64-bit type with read-write access. Thanks and Regards, Lucky ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users