SNMP set command error

"Syed Mujtaba Ahmed Razvi" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
I am having problem while setting a key in my MIB with RW property.
Its like, if a portion of my MIB is

            |  +--mib-2(1)
            |     |
            |     +--system(1)
            |     |  |
            |     |  +-- -R-- String    sysDescr(1)
            |     |  |        Textual Convention: DisplayString
            |     |  |        Size: 0..255
            |     |  +-- -R-- TimeTicks sysUpTime(3)
            |     |  +-- -RW- String    sysContact(4)
            |     |  |        Textual Convention: DisplayString
            |     |  |        Size: 0..255
            |     |  +-- -RW- String    sysName(5)
            |     |  |        Textual Convention: DisplayString
            |     |  |        Size: 0..255


By running command

E:\usr\bin\snmpset -v1 -c public 134.202.84.118 sysName.0 s NewSystem

i get the output

Error in packet.
Reason: (readOnly) The two parties used do not have access to use the 
specified
SNMP PDU.
Failed object: SNMPv2-MIB::sysName.0

but when i give the command of
E:\usr\bin\snmpget -v1 -c public 134.202.84.118 sysName.0

i get a blank string (this is the value i need to fill)
SNMPv2-MIB::sysName.0 = STRING:

Please explain me how to solve this problem.

I am unable to solve it.

Waiting for your reply.
Regards,
Muji

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.