snmpset - OSPF-MIB
Nina Cukic <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> wrote: From: Nina Cukic <[email protected]> Subject: Re: snmpset To: [email protected] Cc: [email protected] 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 <[email protected]> To: Nina Cukic <[email protected]> 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 <[email protected]> To: [email protected] 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users