[SNMP4J] Need Help on HexString value - SNMPTargetTable

srenivasan rs ssrenivasanr at gmail.com
Fri Jun 12 23:48:31 CEST 2009


Hi,

  I am trying to set the attribute, snmpTargetAddrTAddress(with 
appropriate index) with
the ipaddress and port value in Hex as  follows.

 IP address: 172.20.1.150, port : 162
Hexstring for the above ipaddress and port : AC140196A2.

  I am passing this to OctetString datatype as argument. But, the device 
always displays
some other value.

  Is there anyway I can pass HexString in SNMP4J 1.9.3d similar to Net-SNMP?
if so, can you please let me know the ways?

Thanks,

R Srinivasan




More information about the SNMP4J mailing list