Re: snmpset with unknown error

2005-03-28 Thread Robert Story
On Fri, 11 Mar 2005 14:54:37 -0500 Haizhu wrote: HL> I got failure with Unknown Error after SNMP set, anybody have an idea what HL> is wrong? No, we'd need more information on the agent side, not the client side. Unless you can successfully set this object from the command line, then we can compa

snmpset with unknown error

2005-03-11 Thread Haizhu Liu
unsigned long int subnet_prefix = 0xfe80; snmp_pdu_add_variable(pdu, smNetPartitionConfigSubnetPrefix_oid, sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid), ASN_OCTET_STR, (u_char *)&subnet_prefix, sizeof(unsigned long int)); unsigned short int pKey = 0xfffc; snmp_pdu_add_va