On 30 July 2010 15:21, shardul kumar <[email protected]> wrote:
>    But the same thing [returning multiple values] can be achieved by filling
> oids in var_bind  list  of GETNEXT PDU. I can provide all the
> oids of a table in var_bind and get the entire data in one shot.

Listing all the column OIDs within a GETNEXT request
will return the full information for the next row.
    One request - one row.
If there are twenty rows in the table, it will take 20
(actually 21) requests to retrieve the complete table.


Listing all the column OIDs within a GETBULK request
will return the full information for the next N rows
(where N is the value for max-repetitions)
    One request - multiple rows.
The same table can probably be retrieved with just
one or two requests.



Try running 'snmptable -d ....' on a table and compare the traffic
patterns with the results of 'snmptable -d -CB'

Dave

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to