Re: snmpset is failing on usmDHParameters.0 OID

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, 2006-03-06 at 16:28 +0530, [email protected] wrote:
> the object defintions as follows
> 
> ################################
> usmDHParameters OBJECT-TYPE
>     DESCRIPTION
>         "This is encoded as an ASN.1
>     DHParameter per PKCS #3, section 9.  E.g.
> 
>         DHParameter ::= SEQUENCE {
>            prime   INTEGER,   -- p
>            base    INTEGER,   -- g
>            privateValueLength  INTEGER OPTIONAL }"

> 
> snmpset -v2c -c wimax 10.201.114.135 usmDHParameters.0 x 0xFFFFFF...."

But that is not an ASN.1 encoding of the SEQUENCE given
above (or of any other ASN.1 SEQUENCE come to that).
It is not a valid value for the usmDHParameters object.



> ERROR is :
> 
> Error in packet.
> Reason: wrongValue
>     (The set value is illegal or unsupported in some way)
> Failed object: SNMP-USM-DH-OBJECTS-MIB::usmDHParameters.0

Which is exactly what you were being told.

Dave


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.