Difference between revisions of "How can I disable SNMPv3"

From Net-SNMP Wiki
Jump to: navigation, search
(Add info on how to disable SNMPv3)
 
m (Added SNMPv3 as a category)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  
 
<pre>
 
<pre>
--with-out-mib=snmpv3mib,mibII/vacm --disable-privacy --disable-md5 --without-openssl
+
--with-out-mib-modules=snmpv3mib,mibII/vacm --disable-privacy \
 +
      --disable-md5 --without-openssl
 
</pre>
 
</pre>
  
Line 19: Line 20:
 
[[Category:agent]]
 
[[Category:agent]]
 
[[Category:build]]
 
[[Category:build]]
 +
[[Category:SNMPv3]]

Latest revision as of 19:38, 14 November 2007

Good Answer

This is a Good Answer article. It was likely created as a response to a question on a Net-SNMP Mailing List and written up here for others to see. It likely covers material not yet in the FAQ or in the Tutorial but may someday be moved there

Question

How do I disable SNMPv3 when there is no --disable-snmpv3 option to configure

Answer

You can't.

What you can do is to remove the snmpv3mib and the vacm-mib, and since that means there will be no need for any hashing or security code you could also remove those parts so the end result is that you add

--with-out-mib-modules=snmpv3mib,mibII/vacm --disable-privacy \
      --disable-md5 --without-openssl

to your configure line