Hello, I'm encountering a strange issue with snmp4j (2.0.2) when I'm sending snmp set commands.
When I sent the same command using the standard snmpset I got the right result. I'm doing the same think that with snmp4j but I'm encountering a bad response: mgenov:Huawei_last$ snmpset -v 2c -c evo-wr xx.xx.xx.xx \ 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.2.4194312192.4294967295 i 1 \ 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.3.4194312192.4294967295 x "48575443d0bf3004" \ 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.7.4194312192.4294967295 s "8245_3" \ 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.8.4194312192.4294967295 s "8245_0204" \ 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.6.4194312192.4294967295 i 1 \ 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.10.4194312192.4294967295 i 1 SNMPv2-SMI::enterprises.2011.6.128.1.1.2.43.1.2.4194312192.0 = INTEGER: 1 SNMPv2-SMI::enterprises.2011.6.128.1.1.2.43.1.3.4194312192.0 = Hex-STRING: 48 57 54 43 D0 BF 30 04 SNMPv2-SMI::enterprises.2011.6.128.1.1.2.43.1.7.4194312192.0 = STRING: "8245_3" SNMPv2-SMI::enterprises.2011.6.128.1.1.2.43.1.8.4194312192.0 = STRING: "8245_0204" SNMPv2-SMI::enterprises.2011.6.128.1.1.2.43.1.6.4194312192.0 = INTEGER: 1 SNMPv2-SMI::enterprises.2011.6.128.1.1.2.43.1.10.4194312192.0 = INTEGER: 1 Everything is looking fine. When I try to make the same think using snmp4j, I get the following responses: Sending OID: 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.2.4194312192.4294967295 Sending value: 1 true Sending OID: 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.3.4194312192.4294967295 Sending value: 48575443d0bf3004 true Sending OID: 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.7.4194312192.4294967295 Sending value: 8245_3 true Sending OID: 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.8.4194312192.4294967295 Sending value: 8245_0204 true Sending OID: 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.6.4194312192.4294967295 Sending value: 1 true Sending OID: 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.10.4194312192.4294967295 Sending value: 1 true but the profile which I'm trying to set is not as expected. In fact I don't know how to specify the hexadecimal type: x "48575443d0bf3004" option. Any ideas ? -- The human knowledge belongs to the world. _______________________________________________ SNMP4J mailing list SNMP4J@agentpp.org http://lists.agentpp.org/mailman/listinfo/snmp4j