surya ravi kiran k
2002-02-18 20:37:07 UTC
Hi,
Sorry if this topic was discussed else where, couldnt find a proper previous thread.
Using the snmp api, how can octet strings be SET?. i have an object
(forwarding mac address) whose value is of the type ASN_OCTET_STRING.
when a call to snmp_add_var is made should the call look something like
snmp_add_var(pdu, obj, objlen, 's', buf)
where buf is an unsigned char string?
when using snmpset tool for this object, the command
snmpset <host> -c <string> <objid> 00aabbccddee fails..
where the mac address is 00:aa:bb:cc:dd:ee
any suggestions..
thanks
ksr
Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com
Sorry if this topic was discussed else where, couldnt find a proper previous thread.
Using the snmp api, how can octet strings be SET?. i have an object
(forwarding mac address) whose value is of the type ASN_OCTET_STRING.
when a call to snmp_add_var is made should the call look something like
snmp_add_var(pdu, obj, objlen, 's', buf)
where buf is an unsigned char string?
when using snmpset tool for this object, the command
snmpset <host> -c <string> <objid> 00aabbccddee fails..
where the mac address is 00:aa:bb:cc:dd:ee
any suggestions..
thanks
ksr
Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com