>>>>> On Thu, 8 Jul 2010 14:18:13 -0500, "Eyre, Bernadette (Bernadette)" >>>>> <bernadette.e...@alcatel-lucent.com> said:
EB(> I have a requirement to turn off-and-on the community access (v1 EB(> and v2) dynamically at run time. There is no way to do it easily at run-time without removing the config tokens. Hacky solutions: 1) in 5.6.pre2 we have "include" support for config files, so you could put all the community based stuff in an include file and just turn on/off the inclusion of that second file. 2) you could also do this by "file moves" and put snmpd.conf files (or snmpd.local.conf) in and out of your SNMP conf search path. You can then just move the v1/v2c setup file out of the way when you wanted to turn it off, or set the SNMPCONFPATH environment variable to directories that include or exclude that file. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders