Re: different information
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2009/7/20 Anthony Barré <[email protected]>: > -Contrary to the snmp standard, integer-value seems to have the > domain 0..127. What makes you think that? It's perfectly possible to SET an integer value greater than 127. > -I use ‘u’ letter for the unsigned-integer and the gauge-letter > like advised in the site. Unfortunately, the request sent to the equipment > is always a gauge-value even for the unsigned-integer. That is correct - the two types are identical. See RFC 2578. > -I try to use the ‘b’ letter for the bit but the value sent by > the request is unreadable. In which format do I have to pass my value? List the values you want to set, separated by commas. These values can be either the bit names, or the bit values. > -When I past a value out of the value domain of a type, there is > not an error but the value is transformed in the value with modulo. Sorry - I'm not clear exactly what you are asking here. The "snmpset" command should check whether the requested value is valid according to the MIB definition, before sending the SET request. I've just tried this with the ipDefaultTTL object, which has a range of 1..255: $ snmpset localhost ipDefaultTTL.0 i 200 Error in packet. Reason: notWritable (That object does not support modification) $ snmpset localhost ipDefaultTTL.0 i 300 ipDefaultTTL.0: Value out of range (300 :: {(1..255)}) If that's not what you mean, then you'll have to be more specific. Dave ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ 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