Difference between revisions of "FAQ:General 15"

From Net-SNMP Wiki
Jump to: navigation, search
 
Line 1: Line 1:
= Which versions of SNMP are supported in this package? =
+
= Can I use SNMPv1 requests with an SNMPv2 MIB (or vice versa)? =
  
{{subst:FAQ:General_15}}
+
Yes.
 +
 
 +
The version of the syntax used to define a MIB file
 +
is better referred to as SMIv1 or SMIv2, and is purely
 +
concerned with defining the characteristics of the
 +
various management objects.  This is (almost) completely
 +
unrelated to the versions of the protocol operations.
 +
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 over them completely.
  
 
     [[FAQ:General]]
 
     [[FAQ:General]]
 
     {{FAQ:General}}
 
     {{FAQ:General}}

Revision as of 09:12, 16 August 2006

Can I use SNMPv1 requests with an SNMPv2 MIB (or vice versa)?

Yes.

The version of the syntax used to define a MIB file is better referred to as SMIv1 or SMIv2, and is purely concerned with defining the characteristics of the various management objects. This is (almost) completely unrelated to the versions of the protocol operations. 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 over them completely.

   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?