On Tue, 16 Jun 2015 11:35:55 +0530 Chetan wrote:
CS> I want to disable the snmpv1 community in net-snmp and want
CS> net-snmp to respond only for v2 and v3. and also want to remove
CS> the default community public.
CS> 
CS> I though to remove the rocommunity from snmpd.conf file but
CS> that will disable v2 also, that i dont want.
CS> I can not compile net-snmp source code due to some restriction
CS> in my application.
CS> 
CS> 
CS> So I only left with below option :
CS> 1) Do some magic in snmpd.conf so that only v1 community get
CS> disabled and v2 work file.

Don't use rocommunity. You have to use the individual config tokens
to get down to specific protocol versions. See 

 
http://serverfault.com/questions/376688/how-to-disable-version-1-and-version-2c-in-snmpd

CS> 3) I also want to remove the default community "public" due to
CS> some security reason.  How to do that ?

There is no default community. Try and comment out everything in
your snmpd.conf file, and you should get a warning that there is no
access control configured when you start the agent.

Robert

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to