Re: snmp questions
Pete Snmp <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dave, Thanks a lot for quick response. Couple of doubts ........ 1) How come walk returns a valid entry without providing an OID to start with? As walk uses get_next internally ! 2)I couldn't get what you mentioned about counters ! Could you please explain this with an example 3)Regarding tables, ROW_STATUS is from SMI v2 , so this is not there in SMIv1. In this case how are tables implemented in SMIv1? How is the row creation/insertion/deletion handled in SNMPv1/SMI v1? 4)how come V1 traps has the agent address mentioned in the PDU, where as the address is not mentioned in the SNMPv2 NOTIFICATION? Any particular reason? 5)what is the use of conformance and compliance in SMI v2 MIB? how is this useful at the code level? is there any code generated for this? why is this introduced in SMI v2? Any specific reason? How is this useful. Thanks, Pete ________________________________ From: Dave Shield <[email protected]> To: Pete Snmp <[email protected]> Cc: [email protected] Sent: Mon, August 1, 2011 12:48:20 AM Subject: Re: snmp questions On 31 July 2011 19:28, Pete Snmp <[email protected]> wrote: > 1)Understand how getnext works( even if you don’t specify the OID) That doesn't make sense. You must *always* provide at least one OID in a GETNEXT request. > 2)why cant we use gauge32, counters as index? You *can* use gauge-based MIB objects as a table index (though this is relatively unusual - I can't think offhand of any such example). It's only Counters that cannot be used as indexes. (since with counters it is the *difference* between values that's important) > 3) Are TABLES introduces only in SMI V2? No. > 4) how do you map SNMP v2 requests to SNMP v1? See RFC 2576 In general, most SNMPv2 requests are also valid under SNMPv1. The major differences are the introduction of the GetBulk request (which didn't exist in SNMPv1), and the use of exceptions to allow "partially successful" GET* requests. Dave ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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