HI,

 

I was trying to set the IP of device using SNMP.

Can you please explain why this commands are not behaving as expected.

 

snmpset ... ipAddressIfIndex.ipv4.4.10.10.10.40 = 3
ipAddressRowStatus.ipv4.4.10.10.10.40 = createAndGo

It returns the following error.

Error in packet.

Reason: (genError) A general failure occured

Failed object: IP-MIB::ipAddressIfIndex.ipv4."10.10.10.40"

 

It returns an error.

But it actually creates an instance for this IP, after some 3 sec (I
tried a snmpwalk and found a new instance is created).

If the command was able to set the IP, why this one is returning error.

 

 

So a new instance is created.

But trying to destroy it crashes the snmpd daemon.

 

snmpset ...  ipAddressRowStatus.ipv4.4.10.10.10.40 = destroy

Error in packet.

Reason: (genError) A general failure occured

Failed object: IP-MIB::ipAddressRowStatus.ipv4."10.10.10.40" 

 

# service snmpd status

snmpd dead but pid file exists

 

Can you please tell me where I did wrong.

 

And one more thing...

The failed object is IP-MIB::ipAddressRowStatus.ipv4."10.10.10.40"

But we tried to set ip for      ipAddressRowStatus.ipv4.4.10.10.10.40

What happened to the '4' in between the 'ipv4' and '10.10.10.40'

 

Using Linux 2.6.18-238.19.1.el5 and Net SNMP 5.3.2.2

 

 

Thanks and regards,

Basil Joseph.

 

------------------------------------------------------------------------------
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