Re: Using hex strings
"yuva raj" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I am realy thank ful to you sir, can you plese tell me, which of the setting convention for hex value is true x 1122334455 x 0xff fe ee 00 Is there any limit for length that we specify.what if we dont specify 0x On 8/2/06, Dave Shield <[email protected]> wrote: > > On 02/08/06, yuva raj <[email protected]> wrote: > > I have been trying to use snmpset to set hexstring with various > options, I > > dont know which one is correct. > > # snmpset ... localhost RFC1213-MIB::atPhysAddress.... x 0x112233445566 > > Yes - that syntax is correct. > If you give the '-d' option, you can see the raw packet, including > this hex value. > > > # snmpset -v 2c -c public localhost > > RFC1213-MIB::atPhysAddress.2.1.172.20.20.5 x 0x112233445566 > > Error in packet. > > Reason: notWritable (That object does not support modification) > > Please see the FAQ entry "I cannot set any variables in the MIB." > In particular, the second reason listed. That's the relevant one in this > case. > > > > And also, how to specify hex string when using snmptest. > > Just as you do above. > Unfortunately, there appears to be a bug in this application - the hex > value still has a newline character appended when it's interpreted, > which confuses the parsing routine. This needs to be fixed. > > > Dave > -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + REGISTERED LINUX USER: 406811 + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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