DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
754
Parameters
<user_name 32>
- (Optional) Enter the name of the user on the host that connects to the agent.
The name can be up to 32 characters long.
<groupname 32>
- (Optional) Enter the name of the group to which the user is associated. The
name can be up to 32 characters long.
encrypted
- Specify whether the password appears in encrypted format.
by_password
- Indicates 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
- 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
- Indicates 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
- 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 Administrators can issue this command.
Example
To create a SNMP user “user123” with group “group123”:
DGS-3000-26TC:admin#create snmp user user123 group123 encrypted by_password
auth md5 12345678 priv des 12345678
Command: create snmp user user123 group123 encrypted by_password auth md5
12345678 priv des 12345678
Success.
DGS-3000-26TC:admin#
Summary of Contents for DGS-3000 series
Page 1: ......