Configuring the SNMP ``communities'' group
An SNMP community is a group of hosts that you can
manage as a distinct group with SNMP.
The SNMP communities group contains a list of community/IP address pairs identifying those management stations from which the agent on the local host accepts queries. Along with each pair is an access field that controls whether access is allowed, and if so, whether the access granted is read-only or read-write. In addition, the special community public, with an address of 0.0.0.0, restricts or allows access to all other members of the public community.
With the Community Names Editor of the SNMP Agent Manager, you can:
The changes you make are saved to the file /etc/snmpd.comm
when you click on OK in the information screen.
By default, this file originally contains one
entry: public 0.0.0.0 read
. This allows
read access to all members of the public community.
The following is an example of /etc/snmpd.comm. In this example, system 132.147.118.6 of community ``mynet.rivers'' is allowed read access only, whereas system 132.147.246.1 of community ``mynet.cities'' is allowed read and write access. Note that the public community default read access has been changed to no access.
Example 8-2 Sample snmpd.comm file
# community address access # public 0.0.0.0 none mynet.rivers 132.147.118.6 read mynet.cities 132.147.246.1 write