Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

cisco 3725, snmpv3 with authentication - missing something?

Hello,

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?

I have engineID set on the router, I tried to send this with snmpget as well, same response though.

Thanks,

Bryan

1 REPLY
New Member

Re: cisco 3725, snmpv3 with authentication - missing something?

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

2544
Views
0
Helpful
1
Replies
CreatePlease to create content