Re: read-create variable

2006-08-23 Thread Dave Shield
On 23/08/06, yuva raj [EMAIL PROTECTED] wrote:
  This following is the MIB extraction of OID rip2IfConfAuthType , which is
 read-creatable
   [snip]
  When I create a new one,

  [EMAIL PROTECTED] ~]# snmpset -v 2c -c accton 10.10.10.10 
 rip2IfConfAuthType.5.5.5.5 i 2
  Error in packet.
  Reason: (genError) A general failure occured
  Failed object: RIPv2-MIB::rip2IfConfAuthType.5.5.5.5

  Plz, tell me, what could be the problem.

There is a flaw in the code you have written to implement this object.

Not a very useful answer, I know - but then you didn't exactly give us
much detail to work with.   If you don't tell us what you've done, we
can't help.

Dave

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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


read-create variable

2006-08-23 Thread yuva raj
hello,

This following is the MIB extraction of OID rip2IfConfAuthType , which is read-creatable

[EMAIL PROTECTED] ~]# snmptranslate -IR -Td rip2IfConfAuthType
RIPv2-MIB::rip2IfConfAuthType
rip2IfConfAuthType OBJECT-TYPE
 -- FROM RIPv2-MIB
 SYNTAX INTEGER { noAuthentication(1), simplePassword(2), md5(3) }
 MAX-ACCESS read-create
 STATUS current
 DESCRIPTION The type of Authentication used on this
 interface.
 DEFVAL { noAuthentication }
::= { iso(1) org(3) dod(6) internet(1) mgmt(2) mib-2(1) rip2(23) rip2IfConfTable(3) rip2IfConfEntry(1) 3 }


When I create a new one, 

[EMAIL PROTECTED] ~]# snmpset -v 2c -c accton 10.10.10.10 rip2IfConfAuthType.5.5.5.5 i 2
Error in packet.
Reason: (genError) A general failure occured
Failed object: RIPv2-MIB::rip2IfConfAuthType.5.5.5.5

Plz, tell me, what could be the problem.

Rgrds,
Yuvi

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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