Hi,
  I have implemented a MIB with one attribute whose data type is MacAddress in 
the *.c files are generated using mib2c and data type is mentioned as 
ASN_OCTET_STR
hence I am filling the unsigned char ucMacAddr[6] with hex values but when i do 
snmp get I am getting the following value as the output.
Data is being filled like this for testing purpose

ucMacAddr[0] = 0x11;
ucMacAddr[1] = 0x22;
ucMacAddr[2] = 0x33;
ucMacAddr[3] = 0x44;
ucMacAddr[4] = 0x55;
ucMacAddr[5] = 0x55;

MAC_ADDR-MIB::MacAddress.11.1 = STRING: 11:22:33:44

 
Please let me know anything is workng with this implementation.


Regards,
Sasikumar.B



      Bring your gang together. Do your thing. Find your favourite Yahoo! group 
at http://in.promos.yahoo.com/groups/


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to