set snmp group

Use this command to create an SNMP group. This associates SNMPv3 users to a group that shares common access privileges.

Syntax

set snmp group groupname user user security-model {v1 | v2c | usm} [volatile | nonvolatile]

Parameters

groupname Specifies an SNMP group name to create.
user user Specifies an SNMPv3 user name to assign to the group.
security-model v1 | v2c | usm Specifies an SNMP security model to assign to the group.
volatile | nonvolatile (Optional) Specifies a storage type for SNMP entries associated with the group.

Defaults

If storage type is not specified, nonvolatile storage will be applied.

Mode

All command modes.

Example

This example shows how to create an SNMP group called “anyone”, assign a user named “public” and assign SNMPv3 security to the group:

System(rw)->set snmp group anyone user public security-model usm