On 03/07/07, Li Yun-w22793 <[EMAIL PROTECTED]> wrote:
> But I don't know how to organize the snmpget command. Say, the engineID is
> '0x800000a103111111111111' and the userName is 'admin_1'. I try to run the
> command like this and it doesn't work.
> ------------------------------------------------
> snmpget 127.0.0.1
> usmDHUserAuthKeyChange.800000a103111111111111.admin_1
> ------------------------------------------------

Well, at the very least, you'll need to quote the userName string.

Try running 'snmpgetnext'  or  'snmpwalk'  on the usmDHUserAuthKeyChange
object, and use the same syntax that this reports.
   Remember that you'll have to escape any ' or " characters, to protect them
from the shell.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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