Associating Security Names with a Community
For SNMPv1 or SNMPv2c packets, you must assign security names to groups at the [edit snmp v3 vacm security-to-group] hierarchy level and you must associate a security name with an SNMP community.
Use the following configuration statements to configure SNMPv1 or SNMPv2c communities for the VACM:
- snmp v3 snmp-community community-index {
- community-name community-name;
- security-name security-name;
- address address;
- }
To configure the community:
- From configuration mode, access the configuration statement
that configures the community.
Unique index that identifies an SNMP community.
- (Optional) Specify the community string for the SNMPv1
or SNMPv2c community.
If a community name is not specified, the community index is used.
- Specify the VACM security name to associate with the community string.
- (Optional) Specify the IP address or subnet of the SNMP
clients that are authorized to use this community.
If an address is not specified, all clients are authorized to use the community.
- (Optional) Verify your configuration.
