Hi,

It is still showing error for createAndGo.
Is it a problem specific to my platform?
I am using Linux 2.6.18-238.19.1.el5 and netsnmp 5.7

[root@localhost ~]# snmpset -v 2c -c public 10.20.20.20
ipAddressIfIndex.ipv4.4.10.10.10.30 = 3
ipAddressRowStatus.ipv4.4.10.10.10.30 = createAndGo
Error in packet.
Reason: inconsistentValue (The set value is illegal or unsupported in
some way)
Failed object: IP-MIB::ipAddressRowStatus.ipv4."10.10.10.30"

Thank and regards,
Basil Joseph.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>
-----Original Message-----
From: Magnus Fromreide [mailto:[email protected]] 
Sent: 25 November 2011 11:59
To: Basil Joseph (WT01 - GMT-Telecom Equipment)
Cc: [email protected]; [email protected]
Subject: RE: Setting IP address through SNMP

On Fri, 2011-11-25 at 10:31 +0530, [email protected] wrote:
> Hi,
> 
> OK I understand that these two values to be set in a single set
command.
> But it still gives the bad value name error.
> 
> [root@localhost ~]# snmpset -v 2c -c public 10.20.20.20
> ipAddressIfIndex.ipv4.4.10.10.10.30 = 3
> ipAddressStatus.ipv4.4.10.10.10.30 = createAndGo
> ipAddressStatus.ipv4.4.10.10.10.30: Bad value name (createAndGo)
> 
> And I tried with the integer equivalent of createAndGo (4) also
> 
> [root@localhost ~]# snmpset -v 2c -c public 10.20.20.20
> ipAddressIfIndex.ipv4.4.10.10.10.30 = 3
> ipAddressStatus.ipv4.4.10.10.10.30 = 4 Error in packet.
> Reason: wrongValue (The set value is illegal or unsupported in some 
> way) Failed object: IP-MIB::ipAddressStatus.ipv4."10.10.10.30"
> 
> And destroy is also giving bad value name error.

Try with ipAddressRowStatus instead of ipAddressStatus.

/MF


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to