FAQ:General 15

From Net-SNMP Wiki
Jump to: navigation, search

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
   
  1. What is it?
  2. Where can I get it?
  3. What documentation is available?
  4. Are there binaries available?
  5. What's the difference between UCD-SNMP and Net-SNMP?
  6. What operating systems does it run on?
  7. What happens if mine isn't listed?
  8. Does it run on Windows?
  9. How do I find out about new releases?
  10. How can I find out what other people are doing?
  11. How do I submit a patch or bug report?
  12. Can I reuse the code in my commercial application?
  13. What's the difference between SNMPv1, SNMPv2 and SNMPv3?
    What's the difference between SNMPv2 and SNMPv2c?
  14. Which versions of SNMP are supported in this package?
  15. Can I use SNMPv1 requests with an SNMPv2 MIB (or vice versa)?
  16. How can I monitor my system with SNMP?
  17. Where can I find more information about network management?
  18. What ports does SNMP use?
  19. Is Net-SNMP thread safe?