Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
556
59-21 snmp-server user
This command is used to create an SNMP user. Use the no command to remove an SNMP user.
snmp-server user USER-NAME GROUP-NAME {v1 | v2c | v3 [encrypted] [auth {md5 | sha}
AUTH-PASSWORD [priv PRIV-PASSWORD]]} [access IP-ACL-NAME]
no snmp-server user USER-NAME GROUP-NAME {v1 | v2c | v3}
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.
v3
Specifies that the user uses the SNMPv3 security mode.
encrypted
(Optional) Specifies that the following password is in 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 the private password 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
access IP-ACL-NAME
(Optional) Specifies the standard IP access control list (ACL) to
associate with the user.
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.