Q: Community strings

Frank Fock Frank.Fock____t-online.de
Tue Oct 17 19:09:29 CEST 2000


Hi,

If you have _SNMPv3 defined, you can define an arbitrary set of
supported communities through the VACM. Please see the
examples for details.

If you only use SNMPv1/v2c, then you may set one read community
and one write community by using RequestList::set_read_community
and RequestList::set_write_community respectively.
If you want to support more than two communities you will have to
override the RequestList::community_ok method.

Best regards,
Frank

manjunath ramaiah wrote:

> Hi ,
>
> I need to validate the community string each time snmpv1/v2c
> get /set request comes.That is manager will send some predefined
> community string in the get/set request and agent should validate it .
> when the agent comes up can i set the communitystring for get/set so
> that each time the request comes checking is automaticaly done by
> agent++.
> I need help on how to do it ?
>
> Thanks in advance,
> Manju

--
Frank Fock - AGENT++
Email: frank____fock.de
Fax: +49 7195 177108





More information about the AGENTPP mailing list