xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
965
101-5
create snmp user
Description
This command is used to create a new user to an SNMP group originated by this command.
Format
create snmp user <user_name 32> <groupname 32> {encrypted [by_password auth [md5
<auth_password 8-16> | sha <auth_password 8-20>] priv [none | des <priv_password 8-16>]
| by_key auth [md5 <auth_key 32-32> | sha <auth_key 40-40>] priv [none | des <priv_key 32-
32>]]}
Parameters
<user_name 32>
- The name of the user on the host that connects to the agent. The range is 1
to 32.
<groupname 32>
- The name of the group to which the user is associated. The range is 1 to 32.
encrypted
- (Optional) Specify whether the password appears in encrypted format.
by_password
- (Optional) Indicate input password for authentication and privacy.
auth
- Initiates an authentication level setting session. The options are md5 and sha.
md5
- The HMAC-MD5-96 authentication level.
<auth_password 8-16>
- Enter the MD5 authentication password here. This value must
be between 8 and 16 characters.
sha
- The HMAC-SHA-96 authentication level.
<auth_password 8-20>
- Enter the SHA authentication password here. This value must
be between 8 and 20 characters.
priv
- (Optional) A privacy key used by DES, it is hex string type.
none
- Specify that no encryption will be used for the privacy key.
des
- Specify that the DES encryption will be used for the privacy key.
<priv_password 8-16>
- Enter the DES password value here. This value must be between
8 and 16 characters long.
by_key
- (Optional) Indicate input key for authentication and privacy.
auth
- An authentication string used by MD5 or SHA1.
md5
- An authentication key used by MD5, it is hex string type.
<auth_key 32-32>
- Enter the MD5 authentication key here. This value must be 32
characters long.
sha
- An authentication key used by SHA1, it is hex string type.
<auth_key 40-40>
- Enter the SHA authentication key here. This value must be 32
characters long.
priv
- (Optional) A privacy key used by DES, it is hex string type.
none
- Specify that no encryption will be used for the privacy key.
des
- Specify that the DES encryption will be used for the privacy key.
<priv_key 32-32>
- Enter the DES privacy key here. This value must be 32 characters
long.
Restrictions
Only Administrator-level users can issue this command.
Example
To create a SNMP user “user123” with group “group123”:
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...