How can I disable SNMPv3

From Net-SNMP Wiki
Jump to: navigation, search
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