Thanks for your input Dave. I have another question, The multivarbind snmpset pdu formation from a snmp manager is implementation specific or they will fetch the object sequence from the mib file?
Thanks, Prasanna ________________________________________ From: [email protected] [[email protected]] On Behalf Of Dave Shield [[email protected]] Sent: Friday, February 26, 2010 3:51 PM To: Prasanna Varadharajan Cc: [email protected] Subject: Re: Need input on "multiple set objects in a single snmp set pdu" On 26 February 2010 05:02, Prasanna Varadharajan <[email protected]> wrote: > Actually we are trying to set (or create a entry in a table) multiple objects > in a single snmp set command. > > Is there any standard way or standard snmp packet formation method available > for this?. i.e sequencing the objects in the snmp set pdu. No - the agent cannot assume that the varbind within a PDU will appear in a particular order. Nor can the client application that generates a SET assume that they will be processed in a given way. SNMP SET requests must be applied "as if simultaneously", i.e. the order is irrelevant. Typically this requires a multi-pass approach. First checking and validating each varbind individually, and then doing cross-varbind consistency checks. Have a look at the discussion in AGENT.txt of SET processing. and how some of the existing MIB module code handles this. Dave ============================================================================================================================Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
