DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide
542
DGS-1510-28XMP/ME:admin# show snmp community
Command: show snmp community
SNMP Community Table
Community Name View Name Access Right
------------------------------- ---------------------- ------------
private CommunityView read_write
public CommunityView read_only
Total Entries : 2
DGS-1510-28XMP/ME:admin#
67-4
create snmp user
Description
This command is used to create a new user to an SNMP group originated by this command.
Format
create snmp user <user_name 32> <groupname 32> {encrypted [by_password auth [md5 <auth_password
8-16> | sha <auth_password 8-20>] priv [none | des <priv_password 8-16>] | by_key auth [md5 <auth_key
32-32> | sha <auth_key 40-40>] priv [none | des <priv_key 32-32>]]}
Parameters
<user_name 32>
- Enter the name of the user on the host that connects to the agent. The range is 1 to 32.
<groupname 32>
- Enter the name of the group to which the user is associated. The range is 1 to 32.
encrypted
- (Optional) Specifies whether the password appears in encrypted format.
by_password
- Specifies to indicate input password for authentication and privacy.
auth
- Specifies an authentication level setting session. The options are md5 and sha.
md5
- Specifies 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
- Specifies 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
- Specifies a privacy key used by DES, it is hex string type.
none
- Specifies that no encryption will be used for the privacy key.
des
- Specifies 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
- Specifies to indicate input key for authentication and privacy.
auth
- Specifies an authentication string used by MD5 or SHA1.
md5
- Specifies 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
- Specifies 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
- Specifies a privacy key used by DES, it is hex string type.
none
- Specifies that no encryption will be used for the privacy key.
Содержание DGS-1510/ME Series
Страница 1: ......