DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 
35 
Command  Parameter 
disable snmp 
authenticate trap
 
 
show snmp traps 
 
config snmp 
system_contact
 
<sw_contact 0-31> 
config snmp 
system_location
 
<sw_location 0-31> 
config snmp 
system_name
 
<sw_name 0-31> 
 
Each command is listed in detail, as follows: 
 
create snmp user 
Purpose  To create a new SNMP user and add the user to an SNMP group. 
Syntax 
create snmp user <username 24> <groupname 30> [encrypted 
[by_password auth [md5 <auth_password 1-32> | sha 
<auth_password 1-32>] | by_key auth [md5 <auth_key 32 or 
64>| sha<auth_key 40 or 72>]]] 
Description The create snmp user command creates a new SNMP user and 
adds the user to an existing SNMP group. 
Parameters  <username 24> − The new SNMP username, up to 24 alphanumeric 
characters. 
<groupname 30> − The SNMP groupname the new SNMP user is 
associated with, up to 30 alphanumeric characters. 
encrypted – Allows the user to choose a type of authorization for 
authentication using SNMP. The user may choose: 
•  by_password – Requires the SNMP user to enter a 
password for authentication and privacy. The password is 
defined by specifying the auth_password below. This 
method is recommended. 
•  by_key – Requires the SNMP user to enter an encryption 
key for authentication and privacy. The key is defined by 
specifying the key in hex form below. This method is not 
recommended. 
auth - The user may also choose the type of authentication 
algorithms used to authenticate the snmp user. The choices are: 
•  md5 − Specifies that the HMAC-MD5-96 authentication level 
to be used. md5 may be utilized by entering one of the 
following: 
•  <auth password 1-32> - A string of between 1 and 32 
alphanumeric characters used to authorize the agent to 
receive packets for the host. 
•  <auth_key 32 or 64> - A string of exactly 32 or 64 
alphanumeric characters, in hex form, to define the key used 
to authorize the agent to receive packets for the host. 
•  sha − Specifies that the HMAC-SHA-96 authentication level 
will be used.