Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you give yourself write permission for an object in SNMP?

Status
Not open for further replies.

goldenradium2001

Technical User
Mar 22, 2002
91
US
Hi there, I'm trying to set an object's value (such as sysContact.0) as the root user. I'm trying to change it to "root". Here's the syntax I use:

snmpset -v 2c -c public sparc1 sysContact.0 s "root"

However, I receive an error that looks like this:
Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
This name doesn't exist: ucdDemoPublicString.0

I read that this means I don't have write permissions to this object. How do I make it so that I DO have write permissions?

Thanks.
 
Hi,

If you do not have the write permissions probably the community dting which u have given as "public" is wrong.

Check what community string is set on the device with read-write permissions.

Which machine/hardware are you trying to send these snmp requests.

You need to use the snmp commands to configure the community string for the device(say Cisco Routers).

Give the proper community string and it will work out.

-Amit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top