Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Assigning a Security Name to a Group

    In SNMPv3, each username is associated with a security name. The security name, together with the SNMP engine ID, is included in SNMP messages to ensure messaging security.

    Before you assign a security name to a group, first create the security name. For an SNMPv3 client, the security name is the username configured at the [edit snmp v3 usm local-engine user username] hierarchy level. For SNMPv1 or v2c clients, the security name is the community string configured at the [edit snmp v3 snmp-community community-index] hierarchy level.

    Assigning a security name to a group includes configuring a security model for the group, assigning the security name to the group, and configuring the group.

    To assign an SNMP security name to a group:

    1. To configure a security model for the group:
      [edit snmp v3 vacm security-to-group]user@switch# edit security-model (usm | v1 | v2c)

      For example, to configure the SNMPv3 user-based security model (USM):

      [edit snmp v3 vacm security-to-group]user@switch# edit security-model usm
    2. To associate the security name with a group:
      [edit snmp v3 vacm security-to-group security-model (usm | v1 | v2c)]user@switch# edit security-name security-name
    3. To configure a group of SNMPv3 security names with the same security policy:
      [edit snmp v3 vacm security-to-group security-model (usm | v1 | v2c) security-name security-name]user@switch# edit group group-name

    Modified: 2016-12-06