On 7/30/10, shardul kumar <[email protected]> wrote: > Hi Steve, > > Thanks for your reply. But the same thing 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. > Please explain.
If you can get everything in one request it isn't going to make any difference. Try something like snmpwalk device .1.3.6 and snmpbulkwalk device .1.3.6 and see how long each takes. Regards, Lee > > Thanks, > Ravi > > > > On Fri, Jul 30, 2010 at 7:40 PM, Steve Friedl <[email protected]> wrote: > >> On Fri, Jul 30, 2010 at 07:30:54PM +0530, shardul kumar wrote: >> > Hi All, >> > >> > Could any one please let me know why do we need snmpbulk while >> > snmpwalk(using GETNEXT) >> > is already available for bulk data transfer. I mean to say if I am able >> to >> > retrieve all the rows of a >> > table using GETNEXT then what is so special in GETBULK ? >> >> It's a huge performance win to be able to return more than one OID at a >> time, >> especially when there's some distance between agent and client. Try timing >> an >> snmpbulkwalk of something across a VPN tunnel on the other side of the >> country, >> then do the same thing with snmpwalk. >> >> Steve >> >> -- >> Stephen J Friedl | Security Consultant | UNIX Wizard | 714 694-0494 >> [email protected] | Orange County, CA | Microsoft MVP | unixwiz.net >> > ------------------------------------------------------------------------------ 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
