Once again me!

Well I am still having problem with snmpset when I am usig to change variables 
in OSPF-MIB.

I have a quetion:

Does the line in code snmp_ospf.c:

  /*
     * No writes for now 
     */
    *write_method = NULL;

    /*

means that it is forbidden to write in read-write or read-create objects.

I really dont know what else might be the problem..
I am using net-snmp-5.5 version.


Best regards!

Nina







--- On Tue, 29/6/10, Nina Cukic <ninacu...@yahoo.co.uk> wrote:

From: Nina Cukic
 <ninacu...@yahoo.co.uk>
Subject: Re: snmpset
To: net-snmp-users@lists.sourceforge.net
Cc: viv_...@yahoo.com
Date: Tuesday, 29 June, 2010, 15:57

Hi Vivek,

when i try to set value of the object with access "read-create" i get this 
error!

Error in packet.
Reason: (readOnly) The two parties used do not 
have access to use the specified SNMP PDU.
Failed object: 
OSPF-MIB::ospfAdminStat.0
I was searching on the Internet about difference between "read-create" and 
"read-write",
and I found some discussions on the following links
http://markmail.org/message/ooy4xfdge7zcnqvd
http://www.ops.ietf.org/lists/mreview/mreview.2005/msg00062.html

But looking in rfc2570 as I wrote in last email, it should be that object with 
access "read-create" has the ability to be read, set and created..
As I understood it should be the max access that one object can have.

Why do I then get this error message while using snmpset?
I am trying to use SNMP on OSPF-MIB. 

Hope to hear from you
 soon!
Thanks a lot!

Best
 regards!








From: Vivek Singh Bhadauria <viv_...@yahoo.com>
To: Nina Cukic <ninacu...@yahoo.co.uk>
Sent: Tue, 29 June, 2010 12:49:23
Subject: Re: snmpset

Hi Nina,

Where did you get this error? and what is exact error?

There may be some gaps in your snmpset command like
1) wrong/improper access  generally it is private
2) some other restriction.


From: Nina Cukic <ninacu...@yahoo.co.uk>
To: net-snmp-users@lists.sourceforge.net
Sent: Tue, 29 June, 2010 3:32:28 PM
Subject: snmpset

hi there!!

i
 have a question. i am reading right now rfc2578.
and it is written 
that access "read-create" is a super-set of "read-write"
which means 
you can read, write and create an instance of the object.

i am 
wondering if it's so, why then command snmpset does not work on such an 
object.
its giving the error message.


best regards!

Nina






      





      







      




      


      
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to