2009/4/16 Tanisha Kashyap <tanisha.kash...@aricent.com>:
>> [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 
>> system.sysLocation.0="hai"
>> system.sysLocation.0=hai: Needs type and value

> Correction:
> [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 
> system.sysLocation.0 s "hai"

That would be the usual approach, yes.
Alternatively
     snmpset -v1 -c democommunity 172.22.68.14 system.sysLocation.0 = "hai"
should work as well.
But you do need spaces around the '=' character.

snmpset takes sets of *three* parameters for each assignment,
not a single name=value parameter.
   (Maybe it should, but it doesn't)

Dave

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
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