How to disable snmpv2 in SNMP4J Sample Agent?

Hi Frank,

I am using SNMP4J for more than a year. I have looked into your Snmp4j Sample agent application.
How to disable snmpv2 and snmpv1 on this? I need only Snmpv3.

Please help.


Anyone can help here? I have removed all the references of SNMPv2c and SNMPv1 from the But it still allows SNMPv2.

You disable SNMPv1/v2c in a SNMP agent that support the VACM by removing the vacmAccessEntry rows that refer to the SecurityModel IDs 1 and 2. That is all. You must not remove or change any code.