On Tue, May 11, 2010 at 8:45 AM, <thierry.caze...@googlemail.com> wrote:

>
> I apology creating a ticket but I'm not familiar with the process.
>
> In fact I want to know how it is choiced to display information in string
> format instead of hex-string?
>
> snmpset -v 2c -t 3 -r 1 -m all -O sq -c private 192.168.100.1
> 1.3.6.1.4.1.XXXX.2.99.1.1.2.1.4.1.2.8 x %1
> > %1 is once 7071BCF87B36 once 7071BCF87B1F
>
> Answer is once in string format and once in Hex-String format.
>

No problem.

When no output format is specified, snmpget application prints strings that
contain non-printable characters in hex and strings that only contain
printable characters in ASCII. If you want hex-only output, use option -Ox
with snmpget. For more information, see also man snmpcmd or
http://www.net-snmp.org/docs/man/snmpcmd.html.

Bart.
------------------------------------------------------------------------------

_______________________________________________
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