Difference between revisions of "FAQ:General 15"
From Net-SNMP Wiki
(Move FAQ text to a template page) |
|||
Line 1: | Line 1: | ||
= Can I use SNMPv1 requests with an SNMPv2 MIB (or vice versa)? = | = Can I use SNMPv1 requests with an SNMPv2 MIB (or vice versa)? = | ||
− | + | {{FAQ:General_15}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
[[FAQ:General]] | [[FAQ:General]] | ||
{{FAQ:General}} | {{FAQ:General}} |
Latest revision as of 14:07, 28 December 2006
Can I use SNMPv1 requests with an SNMPv2 MIB (or vice versa)?
Yes.
The syntax used to specify a MIB file (better referred to as SMIv1 or SMIv2) is purely concerned with how to define the characteristics of various management objects. This is (almost) completely unrelated to the versions of the protocol used to operate on these values. So it is quite reasonable to use SNMPv1 requests on objects defined using SMIv2, or SNMPv2 (or SNMPv3) requests on objects defined using SMIv1.
The one exception is objects of syntax Counter64, which are only accessible using SNMPv2 or higher. SNMPv1 requests will either treat such objects as an error, or skip them completely.
Note that SMIv1 is effectively obsolete, and all new MIBs should be written using SMIv2.
FAQ:General
- What is it?
- Where can I get it?
- What documentation is available?
- Are there binaries available?
- What's the difference between UCD-SNMP and Net-SNMP?
- What operating systems does it run on?
- What happens if mine isn't listed?
- Does it run on Windows?
- How do I find out about new releases?
- How can I find out what other people are doing?
- How do I submit a patch or bug report?
- Can I reuse the code in my commercial application?
- What's the difference between SNMPv1, SNMPv2 and SNMPv3?
What's the difference between SNMPv2 and SNMPv2c? - Which versions of SNMP are supported in this package?
- Can I use SNMPv1 requests with an SNMPv2 MIB (or vice versa)?
- How can I monitor my system with SNMP?
- Where can I find more information about network management?
- What ports does SNMP use?
- Is Net-SNMP thread safe?