- [edit snmp community community-name]
Statement introduced before JUNOS Release 7.4.
Statement introduced in JUNOS Release 9.0 for EX Series switches.
Specify the IPv4 or IPv6 addresses of the SNMP client hosts that are authorized to use this community.
If you omit the clients statement, all SNMP clients using this community string are authorized to access the router.
address—Address of an SNMP client that is authorized to access this router. You must specify an address, not a hostname. To specify more than one client, include multiple address options.
restrict—(Optional) Do not allow the specified SNMP client to access the router.
snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.