Use this command to create an SNMP group. This associates SNMPv3 users to a group that shares common access privileges.
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. |
If storage type is not specified, nonvolatile storage will be applied.
All command modes.
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