xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
879
Parameters
<user_name 32> - Specify the name of the user on the host that connects to the agent. The range is
1 to 32 characters.
<groupname 32> - Specify the name of the group to which the user is associated. The range is 1 to
encrypted - (Optional) Specify whether the password appears in encrypted format.
by_password auth - Indicate the input password for authentication
sha - Specify the HMAC-SHA-96 authentication level between 8 and 20 characters.
<auth_password 8-20> - Specify the HMAC-SHA-96 authentication level between 8 and 20
md5 – Specify the HMAC-MD5-96 authentication level between 8 and 16 characters.
<auth_password 8-16> - Specify the HMAC-MD5-96 authentication level between 8 and 16
priv - Indicate the input password for privacy. The options are none and DES.
none - Specify there will be no privacy string.
des - Specify a privacy string used by DES between 8 and 16 characters.
<priv_password 8-16> - Specify a privacy string used by DES between 8 and 16 characters.
by_key auth - Indicate the input key for authentication. The options are MD5 and SHA1.
md5 - Specify an authentication key used by MD5. This is a hex string type of 32 characters.
<auth_key 32-32> - Specify an authentication key used by MD5. This is a hex string type of 32
sha - Specify an authentication key used by SHA1. This is a hex string type of 40 characters.
<auth_key 40-40> - Specify an authentication key used by SHA1. This is a hex string type of 40
priv - Indicate the input key for privacy. The options are none and DES.
none - Specify there will be no privacy key.
des - Specify a privacy key used by DES. This is a hex string type of 32 characters
<priv_key 32-32> - Specify a privacy key used by DES. This is a hex string type of 32
Restrictions
Only Administrator-level users can issue this command.
Example
To create a new user to an SNMP group originated by this command:
DGS-3420-28SC:admin#create snmp user dlink D-Link_group encrypted by_password auth
md5 12345678 priv des 12345678
Command: create snmp user dlink D-Link_group encrypted by_password auth md5
12345678 priv des 12345678
Success.
15-2 delete snmp user
Description
This command is used to remove a user from an SNMP group and deletes the associated group in the
SNMP group.