On Tue, 21 Jun 2005 13:19:42 +0800 Hongjunli wrote:
H> stationName OBJECT-TYPE
H> SYNTAX OCTET STRING (SIZE (0..63))
H> MAX-ACCESS read-write
H> STATUS current
H> DESCRIPTION
H> "Station name."
H> ::= { meshInfoEntry 1 }
H>
H> I want to change value of is using command:snmpset -v 2c -c private
H> localhost:163 stationName.234 s "tester",but snmpset showed me the message:
H> Error in packet.
H> Reason: wrongLength (The set value has an illegal length from what the agent
H> expects) Failed object: ARROWSPAN-MIB::stationName.234
Probably because you are checking for a fixed length. But my first concern is
whether or not stationName is an index for the table (it is the first column,
which is usually and index). If so, it should be read-only, not read create.
--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders