RE: snmpset is failing on usmDHParameters.0 OID

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave,

I really appreciate If you could provide some valid input value to this OID.

Thanks
Mahesh


-----Original Message-----
From: Dave Shield [mailto:[email protected]]
Sent: Mon 3/6/2006 4:53 PM
To: Mahesh Anasuri (WT01 - Broadband Networks)
Cc: [email protected]
Subject: Re: snmpset is failing on usmDHParameters.0 OID
 
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
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.