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 ?


On Wed, 2005-06-22 at 23:16, Robert Story wrote:
> 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 


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

>In fact, it should usually be "not-accessible", unless it's the *only*
>column in the table.

It is not  an index of this table and its length is not a fixed length,

thanks. 
HS^甸��X���'���u����(疥�j���{�2(+j亘�+kj��������b��"��^����Z0F����l糙��m~��j�Z�����"��+��b藉�m片镀�vj+xg�z鳙守b�
êw�v� z郓��)y�_j�a囤��l⑶gr��i��

Reply via email to