- community community-name {
-
authorization authorization;
-
client-list-name client-list-name;
-
-
clients {
-
address restrict;
- }
-
view view-name;
- }
- [edit snmp]
Statement introduced before JUNOS Release 7.4.
Define an SNMP community. An SNMP community authorizes SNMP clients based on the source IP address of incoming SNMP request packets. A community also defines which MIB objects are available and the operations (read-only or read-write) allowed on those objects.
The SNMP client application specifies an SNMP community name in Get, GetBulk, GetNext, and Set SNMP requests.
If you omit the community statement, all SNMP requests are denied.
community-name—Community string. If the name includes spaces, enclose it in quotation marks (" ").
The remaining statements are explained separately.
See Configuring the SNMP Community String.
snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.