RE: SNMPv3 Help - Problems with user accounts. Trying to snmpwalk

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC082F1FA8@mailserver.metatv-ds.metatv.com>
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Daniel Stewart
> Sent: Monday, March 24, 2008 12:23 PM

> However I am trying to use snmpv3 - when i do "snmpwalk -c 
> public -v 3 192.168.3.1" It returns "snmpwalk: No 
> securityName specified".

	Which is correct.  The "-c" flag is for communities, which do not exist in SNMPv3.  You will nee a "-u" flag to specify the USM user, plus "-l" and zero or more of "-a", "-A", "-x", and "-X".  See the manpage for snmpcmd for details.

> I tried putting;
>  
> createUser netadmin MD5 "netadminpassword" DES
> rouser netadmin 
>  
> Into the snmp.conf file (C:/usr/etc/snmp/snmp.conf file) but 
> the command line just returns "Unknown Token: CreateUser, 
> Unknown Token:rouser ".

	Again, this is correct, since createUser lines belong in snmpd.conf, not snmp.conf.

> I have no snmpd.conf file that i can 
> find and following the initial user setup tutorials i cant 
> seem to begin to get this working.

	So create one.  Put it in the same dir as your snmp.conf.  That's where mine is.  Not entirely sure mine works, though - I usually use Linux.


	HTH,

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.