xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
32
Each command is listed in detail in the following sections:
create snmp user
Purpose
Used to create a new user for an SNMP group.
Syntax
create snmp user <snmp_username32> <groupname32>
{encrypted(1) [by_password(1) auth [md5(2) <auth_password
8-16 > | sha(3) <auth_password 8-20 >] priv [none(1) | des(2)
<priv_password 8-16> ] | by_key(2) auth [md5(2) <auth_key
32-32>| sha(3) <auth_key 40-40>] priv [none(1) | des(2)
<priv_key 32-32> ]]}
Description
The create snmp user command creates a new user for an SNMP
group. The user can choose to input authencation and privacy by
password or by key.
Parameters
<snmp_username>
−
Specifies the name of the user on the host
that connects to the agent. The range is 1 to 32.
<groupname>
−
Specifies the name of the group to which the user
is associated. The range is 1 to 32.
encrypted
−
Specifies that the password appears in encrypted
form.
by_password
– Indicates the input password for authentication and
privacy.
auth md5 | sha
– Indicates an authentication level setting session.
The options are:
md5- The HMAC-MD5-96 authentication level.
sha- The HMAC-SHA-96 authentication level.
auth_password-
An authentication string used by MD5 or SHA1.
priv_password-
A privacy string used by DES.
auth_key-
An authentication key used by MD5 or SHA1, it is a hex
string type.
priv_key-
A privacy key used by DES, it is a hex string type.
Restrictions
Only Administrator or Operator-level users can issue this command.
Example usage:
To create a new SNMP user called dlink:
DES-3800:admin#create snmp user dlink D-Link_group encrypted
by_password auth md5 1
2345678 priv des 12345678
Command: create snmp user dlink D-Link_group encrypted by_password
auth md5 1234
5678 priv des 12345678
Success.
DES-3800:admin#