The MIB OID object have data type of BITS:

Composed Type: Bits
Base Type: BITS
Access: read-write
Kind: Scalar
SMI Type: OBJECT-TYPE
Value List:
docsis (0)
emta (1)
cpe (2)

    DEFVAL { '00'h }
    ::= { saCmMtaCliAccess 2 }


I want set value 2 (cpe). I tried to set value use

snmpset -v2c -c public 192.168.100.1  [object_OID] b 2

Got error:
"Error in packet.
Reason: wrongValue (The set value is illegal or unsupported in some way)"

What is the proper format to set BITS data type?



------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to