09-21-2006 09:33 PM
I am using snmpv3 and now one thing what i dont understand.
When i do in RME "check device credentials" i got error message "No access syslocation".
I read that when i "check device credentials" RME do with snmp "get syslocation and sysuptime"
and after that try to do "set syslocation"
Even when i have snmp entry like below i got error message
Setting v3 Param mode to authNoPrivquerying
sysLocationobtained sysLocation value - obtained
exception while g/setting sysLocation com.cisco.nm.lib.snmp.lib.SnmpException:
SnmpResponseNoAccess on 10.1.1.1 while performing SnmpSet at index = 0
Snmp entry is like "snmp-server group gv3 v3 auth write write1 access 10"
Any idea why that snmp set dont work even i have set access-list permit for that ip address.
Thanks
Juha
Solved! Go to Solution.
09-23-2006 02:39 PM
v1default will allow almost all read-write objects to be set. There are some that must be explicitly allowed, however.
If you search on Cisco.com for "snmp view" you will find a lot of good hits. One such document is http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094489.shtml .
09-21-2006 10:15 PM
What is the configuration for the wrtie1 view?
09-21-2006 10:31 PM
Thanks for answer.
Am i missing somenthing because this is the configuration.
snmp-server group gv3 v3 auth write write1 access 10
User name: op
Engine ID: 800000090300000000001
storage-type: nonvolatile active
Authentication Protocol: SHA
Privacy Protocol: None
Group-name: gv3
Juha
09-22-2006 07:48 AM
You still haven't shown the configuration for the wrtie1 SNMP view. That will be critical in determining which objects can be set.
09-22-2006 10:00 AM
Ok. I havent done any configuration for that write1 view so it looks like i have to study little more that snmp set and it configuration. Or could you give me samle how to do that. ( i havent found the syntax how to tell switch which objects can be set)
Thanks
Juha
09-22-2006 10:17 AM
Don't use write1, then. Use v1default instead:
snmp-server group v3group v3 auth read v1default write v1default
09-23-2006 02:35 PM
Does that v1default mean that all possible variable can be set. If i want to bound that i have to tell what object. Do you have any link where is how to use those views.
Thanks
Juha
09-23-2006 02:39 PM
v1default will allow almost all read-write objects to be set. There are some that must be explicitly allowed, however.
If you search on Cisco.com for "snmp view" you will find a lot of good hits. One such document is http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094489.shtml .
09-23-2006 03:02 PM
Thank you Joe for helpful hints.
Juha
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide