Assigning Security Names to Groups (SRC CLI)
For SNMPv1 or SNMPv2c packets, you must assign security names to groups and you must associate a security name with an SNMP community at the [edit snmp v3 snmp-community community-index ] hierarchy level.
Use the following configuration statements to assign security names to groups:
To map security names to groups for the VACM:
From configuration mode, access the configuration statement that configures the security model for a group.
user@host# edit snmp v3 vacm security-to-group security-model (v1|v2c|usm)To specify the SNMPv1 security model:
user@host# edit snmp v3 vacm security-to-group security-model v1To specify the SNMPv2c security model:
user@host# edit snmp v3 vacm security-to-group security-model v2cTo specify the SNMPv3 user-based security model (USM):
user@host# edit snmp v3 vacm security-to-group security-model usmSpecify the security name.
user@host# edit snmp v3 vacm security-to-group security-model (v1|v2c|usm) security-name security-nameIf the security model is USM, the security name is the username configured at the [edit snmp v3 usm local-engine user] hierarchy level.
Specify the group to which the security name is assigned.
[edit snmp v3 vacm security-to-group security-model (v1|v2c|usm) security-name security-name]user@host# set group-name group-name