2.7.2 Specifying community names
A community name is a password required in order to access MIB values using the SNMP protocol. Community names have a low security level and are openly used in the network.
SNMP Agent community names can be used as follows:
-
Specify a get community name to suppress referencing of the MIB values for SNMP requests from an unauthorized manager.
-
Specify a set community name to suppress updating of the MIB values for SNMP requests from an unauthorized manager.
To specify the community names of the manager and SNMP Agent, use the configuration file (/etc/SnmpAgent.d/snmpd.conf).
- Organization of this subsection
(1) Types of community names
There are two types of community names: get community names and set community names. By using these community names appropriately, you can determine the type(s) of SNMP requests to which SNMP Agent will respond.
- get community name
-
This is a password for GetRequests.
If you use a get community name, SNMP Agent will respond only to GetRequests.
- set community name
-
This is a password for both GetRequest and SetRequests.
If you use a set community name, SNMP Agent will respond to both GetRequests and SetRequests.
You can register multiple community names.