On 9 July 2010 04:51, Wes Hardaker <harda...@users.sourceforge.net> wrote:
>>>>>> 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:

   [snip]

Less hacky, but more fiddly solution:

     Use SNMP SET requests to amend the vacmAccessTable,
     and disable (or remove) the community-related entries.

I haven't tried this, but I suspect that yould probably have to
create the relevant rows using SET requests as well.
Entries set up via the snmpd.conf file are typically marked as
permanent, so can't be deleted using SET.

Dave

------------------------------------------------------------------------------
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

Reply via email to