130 ExtremeWare Software 7.3.0 Command Reference Guide
Commands for Managing the Switch
configure snmpv3 add group user
configure snmpv3 add group {hex} <group name> user {hex} <user name>
{sec-model [snmpv1| snmpv2 | usm]} {volatile}
Description
Add a user name (security name) to a group.
Syntax Description
Default
The default values are:
• sec-model—USM
• non-volatile storage
Usage Guidelines
Use this command to associate a user name with a group.
As per the SNMPv3 RFC, a security name is model independent while a username is model dependent.
For simplicity, both are assumed to be same here. User names and security names are handled the same.
In other words, if a user is created with the user name username, the security name value is the same,
username.
Every group is uniquely identified by a security name and security model. So the same security name
can be associated to a group name but with different security models.
Example
Use the following command to associate the user userV1 to the group defaultRoGroup with SNMPv1
security:
configure snmpv3 add group defaultRoGroup user userV1 sec-model snmpv1
Use the following command to associate the user userv3 with security model
USM
and storage type
volatile
to the access group defaultRoGroup:
configure snmpv3 add group defaultRoGroup user userV3 volatile
hex Specifies that the value to follow is to be supplied as a colon separated string
of hex octets.
group name Specifies the group name to add or modify.
user name Specifies the user name to add or modify.
sec-model Specifies the security model to use.
snmpv1 Specifies the SNMPv1 security model.
snmpv2 Specifies the SNMPv2c security model.
usm Specifies the SNMPv3 User-based Security Model (USM).
volatile Specifies volatile storage.