Re: Regarding MultivarBind Set/Get operation
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGY57D1h99k3UmxSuWsAEibsvemRv9K1XKpL8BvgdZWSQg@mail.gmail.com> |
On 5 September 2011 18:27, Pete Snmp <[email protected]> wrote: > 1) Is this possible to set/get multiple varbinds in single request? Yes. > 2)If YES, then , is it the same with SNMP v1 and SNMP v2 ? Yes > 3) If YES, then, how is it possibly handled at the MAC layer if > we try retrieving/setting varbinds more than 1500 bytes payload Ethernet limit? SNMP (like any other network protocol) doesn't really care about how packets might be fragmented and reassembled. That's a matter for the lower levels. If a fragment gets lost, then the whole request will be repeated, exactly as if there was a problem with any other PDU. There are recommendations within the specs to try and avoid fragmentation, but that's more concerned with the scenarios where network management typically comes into its own - i.e. determining what's happening when things aren't working properly. If there are network problems, then having unfragmented request PDUs makes it more likely that they will get through successfully. But that's not fundamental to the SNMP protocol - large requests work fine with the normal fragmentation/reassembly. > 4) Is there any difference to SNMP get request in V1 and V2? > This is w.r.t to partial results Yes. A single invalid OID within a multi-varbind SNMPv1 request will trigger an error response (i.e. no other information will be returned). The same invalid OID within a multi-varbind SNMPv2 request will report an exception for that particular varbind (along with the appropriate values for all other varbinds). See any book on SNMP for more details. Dave ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ 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