Hi, Dave

Now I'm doing as the following:
1. run the snmpd in the vmware linux system, in the snmpd.conf I have 
configured a user named leelin.
2. download the net-snmp package for the windows version.(The reason why I use 
the windows version is that I want to use the wireshark tools to catch the snmp 
packets) After setup successfully, I run the cmd 'snmpusm -v 3 -u leelin -n "" 
-l authNoPriv -a MD5 -A authpass 172.18.100.112 create kang leelin', it hints 
'User successfully created'.
3. I try to modify the authentication password, and run 'snmpusm -v 3 -u leelin 
-n "" -l authNoPriv -a MD5 -A authpass 172.18.100.112 -Ca passwd authpass 
helloworld kang, but it hints 'Unknown command'. I'm not clear what wrong with 
this command? 

-----邮件原件-----
发件人: [email protected] [mailto:[email protected]] 代表 Dave 
Shield
发送时间: 2009年4月20日 19:16
收件人: Kang Chen
抄送: [email protected]
主题: Re: 答复: how to create a new SNMPv3 user using usmUserTable

2009/4/20 Kang Chen <[email protected]>:
> But I want to create a new user by mibbrowser, not by the snmpusm command.

The snmpusm command is effectively a specialised MIB browser.
It sends SNMP SET requests (just as you would with a browser).
The difference is that these are hidden from the user.


>  But, I don't know how to modify the authentication password from the 
> mibbrowser.

Try running 'snmpusm' with the -d (or -Ddump) flag, to display the SET request
that's sent.   Then try using the same SET request from your browser.

Or have a look at the source code for snmpusm, to see what SET requests
it is sending.

Dave

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to