norteldude78
IS-IT--Management
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
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