Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set snmp group
5-12 SNMP Configuration
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
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:
D2(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}]
Table 5-21 show snmp group Output Details
Output Field
What It Displays...
Security model
SNMP version associated with this group.
Security/user name
User belonging to the SNMP group.
Group name
Name of SNMP group.
Storage type
Whether entry is stored in volatilenonvolatile or read-only memory.
Row status 
Status of this entry: activenotInService, or notReady.
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.