|
finally got it. after you install net-snmp-5.7.0-1.x86.exe go to command prompt c:/usr/bin>snmpconf -g basic_setup then create snmpv3 users .for example raj noauth, shankar auth,...
then a snmpd.conf file is created in bin folder. cut paste it in etc/snmp/ then stop the net-snmp agent and edit the snmpd.conf file from usr/snmp/persist/ write the following line: createUser shankar MD5 mysecretpass then restart the net-snmp agent. go to usr/snmp/persist/snmpd.conf , it will ask you to reload. click yes. then go to command prompt c:/usr/bin>snmpget -v 3 -l auth -u shankar -a MD5 -A mysecretpass localhost .1.3.6.1.2.1.1.1.0. this will give the desired output.
see that when using the -> createUser shankar MD5 mysecretpass user shankar is already created during snmpconf -g basic_setup . here mysecretpass is the password and MD5 is the authentication protocol
|