On Thu, 2005-06-23 at 11:44, Hongjunli wrote:
> stationName OBJECT-TYPE
> SYNTAX OCTET STRING (SIZE (0..63))
> MAX-ACCESS read-write
> STATUS current
> DESCRIPTION
> "Station name."
> ::= { meshInfoEntry 1 }
>
> I want to change value of it using command:
> snmpset -v 2c -c private localhost:163 stationName.234 s "tester",but
> snmpset showed me the message:
> Error in packet.
> Reason: wrongLength (The set value has an illegal length from what the agent
> expects)
> Failed object: ARROWSPAN-MIB::stationName.234
>
> why ?
You'll need to look at the code that implements that particular object.
See what tests it is applying to the assignment.
Dave
-------------------------------------------------------
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