Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

norteldude78 (IS/IT--Management) (OP)
22 Dec 07 22:40
Hello,

I am posting this in SNMP forum and Cisco router forum because I am not sure where the answer lies.
I am trying to get snmpv3 work on Cisco router and using snmpget to test.

******* 1st test *******

On Cisco Router:

R1(config)#snmp-server group dead v3 noauth
R1(config)#snmp-server user jerry dead v3

On Windows:

C:\usr\bin>snmpget.exe -v 3 -u jerry 192.168.101.1 system.sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1491944) 4:08:39.44

Works great, but with no authentication or encryption.

******* 2nd test (with auth) *******

On Cisco Router :

R1(config)#snmp-server group stones v3 auth
R1(config)#snmp-server user mick stones v3 auth md5 brownsugar

Windows:

C:\usr\bin>snmpget.exe -v 3 -u mick -A brownsugar 192.168.101.1 system.sysUpTime.0
Error in packet
Reason: authorizationError (access denied to that object)

C:\usr\bin>snmpget.exe -v 3 -u mick -a md5 -A brownsugar 192.168.101.1 system.sysUpTime.0
Error in packet
Reason: authorizationError (access denied to that object)

Does anybody know why this isn't working?
Am I missing something in the snmpget or on the router?

Thanks,
Bryan

norteldude78 (IS/IT--Management) (OP)
22 Dec 07 23:08
I found the answer, I needed "-l AuthNoPriv" in the snmpget command:

C:\usr\bin>snmpget.exe -v 3 -u mick -l AuthNoPriv -a MD5 -A brownsugar 192.168.1
01.1 system.sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1716549) 4:46:05.49

-B

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close