[Contents] [Prev] [Next] [Index] [Report an Error]

# Assigning Security Names to Groups

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:

`

snmp v3 vacm security-to-group security-model (v1|v2c|usm) ...
snmp v3 vacm security-to-group security-model (v1|v2c|usm) security-name security-name {
  group-name group-name;
}

`

To map security names to groups for the VACM:

1. 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 v1
   `

   To specify the SNMPv2c security model:

   `
   user@host# edit snmp v3 vacm security-to-group security-model v2c
   `

   To specify the SNMPv3 user-based security model (USM):

   `
   user@host# edit snmp v3 vacm security-to-group security-model usm
   `
2. Specify the security name.
   `
   user@host# edit snmp v3 vacm security-to-group security-model (v1|v2c|usm) security-name security-name
   `

   If the security model is USM, the security name is the username configured at the [edit snmp v3 usm local-engine user] hierarchy level.

3. 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
   `

#### Related Topics

- Associating Security Names with a Community

[Contents] [Prev] [Next] [Index] [Report an Error]