User Manual
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
177
Parameters
USER-NAME
Specifies a username of a maximum of 32 characters. The syntax
is general string that does not allow spaces.
GROUP-NAME
Specifies the name of the group to which the user belongs. The
syntax is general string that does not allow spaces.
v1
Specifies that the user uses the SNMPv1 security model.
v2c
Specifies that the user uses the SNMPv2c security model.
v3
Specifies that the user uses the SNMPv3 security model.
encrypted
(Optional) Specifies that the following password is encrypted
format.
auth
(Optional) Specifies the authentication level.
md5
Specifies to use HMAC-MD5-96 authentication.
sha
Specifies to use HMAC-SHA-96 authentication.
AUTH-PASSWORD
Specifies the authentication password in the plain-text form. This
password is 8 to 16 octets for MD5 and 8 to 20 octets for SHA. If
the keyword encrypted is specified, the length is 32 for MD5 and 40
for SHA. The format is a hexadecimal value.
PRIV-PASSWORD
Specifies a privacy key used by DES. In the plain-text form, this
password is 8 to 16 octets. If the keyword encrypted is specified,
the length is fixed to 32 octets.
Default
By default, there is one user.
User Name
: initial.
Group Name
: initial.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
To create a SMNP user, specify the security model that the user uses and the group that the user is created for.
To create an SNMPv3 user, the password used for authentication and encryption needs to be specified. An
SNMP user is unable to be deleted if it has been associated with a SNMP server host.
Example
This example shows how the plain-text password is configured for the user “user1” in the SNMPv3 group
public.
Switch# configure terminal
Switch(config)# snmp-server user user1 public v3 auth md5 authpassword priv
privpassword
Switch(config)#
This example shows how the MD5 digest string is used instead of the plain text password.