Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • 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!

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

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


snmpget, snmpv3, and Cisco Routers

snmpget, snmpv3, and Cisco Routers


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 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


C:\usr\bin>snmpget.exe -v 3 -u mick -A brownsugar 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 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?


RE: snmpget, snmpv3, and Cisco Routers

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


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

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!


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