[SNMP4J] getnext operation issue
Frank Fock
fock at agentpp.com
Wed Jan 10 01:04:35 CET 2007
Hi Giovanne,
The -Ot option overrides the -p option. That is a current
limitation of the console tool.
You have to use SNMPv1 to force the console tool to
use GETNEXT PDUs to retrieve the table.
Best regards,
Frank
Giovane Moreira wrote:
> Hello folks,
>
> I'm having problems during the creation of GETNEXT PDUs.
>
> I'm using the SNMP4j command line tool like this (i'm suppose to retrive a
> table):
> java -jar SNMP4J.jar -d OFF -c public -p GETNEXT -Ot -v 2c
> udp:localhost/12345 1.3.6.1.2.1.4.24
>
> The output it's ok, but when I use ethereal to analyse the traffic sniffed
> from network, I see that all my request PDUs are GETBULK, even with the -p
> GETNEXT parameter explicit.
>
> What should I do to have GETNEXT pdu's?
>
> Thanx,
>
> Giovane
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list