set snmp group
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
user user
security‐model v1 |
v2c | usm
volatile |
nonvolatile
Defaults
If storage type is not specified, nonvolatile storage will be applied.
Mode
Switch command, read‐write.
Example
This example shows how to create an SNMP group called "anyone", assign a user named "public"
and assign SNMPv3 security to the group:
G3(su)->set snmp group anyone user public security-model usm
clear snmp group
Use this command to clear SNMP group settings globally or for a specific SNMP group and user.
Syntax
clear snmp group groupname user [security-model {v1 | v2c | usm}]
Parameters
groupname
user
security‐model v1 |
v2c | usm
Defaults
If not specified, settings related to all security models will be cleared.
Mode
Switch command, read‐write.
5-12 SNMP Configuration
Specifies an SNMP group name to create.
Specifies an SNMPv3 user name to assign to the group.
Specifies an SNMP security model to assign to the group.
(Optional) Specifies a storage type for SNMP entries associated with the
group.
Specifies the SNMP group to be cleared.
Specifies the SNMP user to be cleared.
(Optional) Clears the settings associated with a specific security model.