How can I disable SNMPv3

From Net-SNMP Wiki
Revision as of 19:38, 14 November 2007 by Magfr (Talk | contribs) (Added SNMPv3 as a category)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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