> On more thing, GetBulk will start
> with the object ID "A" and ends with OID "F". Am I right? or it traverses
> the whole MIB for which the related OID(s) are given?
I'm not quite sure what you mean by that.
The result of the GETBULK is simply a concatenation of the equivalent
GETNEXT results. So using the same example:
GETBULK (3, 5) A B C D E F
might return
RESPONSE A.1 B.1 C.1 D.1 E.1 F.1 D.2 E.2 F.2
D.3 E.3 F.3 D.4 E.4 F.4
E.1 F.1 Z.0
(with the spacing being just for illustration of the GN equivalents)
Note that the last repetition happened to run off the end of the
table, so returned the "lexically next" entry in each case - either
looping round to the start of the next column (E.1 F.1), or moving
on to a completely unrelated object (Z.0)
The agent doesn't know or care when this happens. A larger
number of repetitions (e.g. GETNEXT 3, 7) would continue to look
for the "lexically next" entries - regardless of whether they had
already occurred earlier (E.2 E.3, F.2 F.3) or were completely
unrelated to the main block of information (ZZ.0 ZZZ.0).
Does that help, or are you even more confused?
Dave
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users