- community community-name {
- authorization authorization;
- client-list-name client-list-name;
-
- clients {
- address restrict;
- }
- view view-name;
- }
Statement introduced before JUNOS Release 7.4.
Statement introduced in JUNOS Release 9.0 for EX Series switches.
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.
snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.