[SNMP4J] Help - GETBULK
PHIL BERGSTRESSER
phil.bergstresser at adtran.com
Sun Jun 15 06:21:59 CEST 2008
Stay on the list please,
Follow my answer. Check the last OID returned and see if it is still
within your desired range, and if not, create another getBulk PDU
starting with that OID and some MAX-REPETITIONS, and repeat until you
get all you need.
Phil
________________________________
From: Julio Martins [mailto:martins.julio at gmail.com]
Sent: Saturday, June 14, 2008 1:58 PM
To: PHIL BERGSTRESSER
Subject: Re: [SNMP4J] Help - GETBULK
Phil, what I can do for solve this problem? What are your
sugetion?
Julio
On 6/13/08, PHIL BERGSTRESSER <phil.bergstresser at adtran.com>
wrote:
Sure Julio,
The agent puts as many results as it thinks it has
room to do, and
sends what it can. It's up to you to request more if you
didn't get all.
Like a getNext, it's up to you to decide if you have
gone past the OIDs
you are walking. Each Get PDU of any kind will return
one response PDU.
You keep it going until you have enough. The advantage
of the GetBulk in
SNMPv2 is that it only takes one get PDU to get a lot of
returns in one
response.
HTH,
Phil
> -----Original Message-----
> From: snmp4j-bounces at agentpp.org
> [mailto:snmp4j-bounces at agentpp.org] On Behalf Of Julio
Martins
> Sent: Friday, June 13, 2008 2:28 PM
> To: snmp4j at agentpp.org
> Subject: [SNMP4J] Help - GETBULK
>
> Hi! My name is Julio. I'm Brazilian guy and have a
problem
> with SNMP4J GETBULK operation.
>
> I tested in SNMP4J tool this comand line: SNMP4J -p
GETBULK
> -v 2c -c SENHA
> 172.30.0.49 "1.3.6.1.4.1.1916.1.2.8.1.1.1"
>
> This OID is a OID of Extreme Switch. This returns
vlans of
> the equipament, but this equipament has about 1000
vlans and
> this command returns only 10 lines.
>
> Anyone have idea about this problem?
>
> Thanks
>
>
> Julio
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>
More information about the SNMP4J
mailing list