Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[SNMP] V3 error message

4,738 views
Skip to first unread message

Ashley M. Kirchner

unread,
Oct 24, 2002, 4:17:00 PM10/24/02
to
"McMullen, David E. (NGIT)" wrote:

> When I run snmpwalk -v 3 -u my user -l authNoPriv -a MD5 -A mypass myhost
> sysUpTime.0 it returns:
>
> SNMPv2-MIB::sysUpTime.0 = Timeticks: (107071) 0:17:50.71
>
> When I run snmpwalk -v 3 -u my user -l authPriv -a MD5 -A mypass myhost
> sysUpTime.0 it returns:
>
> snmpwalk: USM generic error

Try this:

snmpget -v 3 -u <user> -l authPriv -a MD5 -A <passwd> -x DES -X <passwd>
localhost sysUpTime.0

--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ash...@pcraft.com> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.

-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

McMullen, David E. (NGIT)

unread,
Oct 25, 2002, 9:52:11 AM10/25/02
to
Is it possible to access an agent using snmp v2 from a machine using snmp
v3? I have a solaris box running net-snmp on version 3 and an NT bix
running MS/Win agent at what I assume is version 2. When I try an snmpwalk
or get from my solaris box to my NT box, I get a timeout.

Does this mean that my local binaries are dependant on the local agent, even
if they are querying a remote agent?

Try this:

http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en

Dave Shield

unread,
Oct 25, 2002, 11:34:05 AM10/25/02
to
> Is it possible to access an agent using snmp v2 from a machine using snmp
> v3?

No - the agent and manager have to be using the same version of SNMP
in order for them to communicate.

But note that most applications (both managers and agents) are typically
multi-protocol. So an SNMPv3 agent will typically also respond to SNMPv2c
and SNMPv1 requests as well (assuming it's suitably configured to do so).
And an SNMPv3 manager will typically be able to generate SNMPv2c or SNMPv1
requests.
Certainly the Net-SNMP suite is tri-lingual in this way.

But these are essentially three separate protocols - they're not cross-
compatible. (Just very very similar!)

Dave

Robert Story

unread,
Oct 28, 2002, 12:40:05 PM10/28/02
to
On Fri, 25 Oct 2002 08:28:32 -0500 "McMullen, David E. (NGIT)"
<David.M...@mail.va.gov> wrote:
MDE> Is it possible to access an agent using snmp v2 from a machine using snmp
MDE> v3? I have a solaris box running net-snmp on version 3 and an NT bix
MDE> running MS/Win agent at what I assume is version 2. When I try an
MDE> snmpwalk or get from my solaris box to my NT box, I get a timeout.

If you are using a recent version of net-snmp, the default is probably v3. But
you can still use v2c and v1 queries to other agents. Just add '-v 2c' or '-v
1' to your command line. If you continue to get a timeout, then it's probably
an access control problem.

--
Robert Story, NET-SNMP Junkie
<irc://irc.openprojects.net/#net-snmp> <http://www.net-snmp.org/>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

0 new messages