Supported Platforms
community-name (SNMP)
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 11. for the QFX Series.
Description
Define an SNMP community to authorize SNMPv1 or SNMPv2c clients in an SNMPv3 system. When you configure a community in SNMPv3, you can also specify a security name. The access privileges associated with the security name determine which MIB objects are available and which operations (read, write, or notify) are allowed on those objects.
Options
community-name—Community string for an SNMPv1 or SNMPv2c community. If unconfigured, it is the same as the community index. If the name includes spaces, enclose the name in quotation marks (" ").
![]() | Note: Community names must be unique. You cannot configure the same community name at the [edit snmp community] and [edit snmp v3 snmp-community community-index] hierarchy levels. The community name at the [edit snmp v3 snmp-community community-index] hierarchy level is encrypted and not displayed in the command-line interface (CLI). |
Required Privilege Level
snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.