xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
create snmp user
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 will be used.
md5
may be utilized by entering one of the following:
•
•
•
•
•
•
•
•
<auth password 8-16>
- An alphanumeric sting of between 8 and 16
characters that will be used to authorize the agent to receive
packets for the host.
<auth_key 32-32>
- Enter an alphanumeric sting of exactly 32
characters, in hex form, to define the key that will be used to
authorize the agent to receive packets for the host.
sha
−
Specifies that the HMAC-SHA-96 authentication level will be used.
<auth password 8-20>
- An alphanumeric sting of between 8 and 20
characters that will be used to authorize the agent to receive
packets for the host.
<auth_key 40-40>
- Enter an alphanumeric sting of exactly 40
characters, in hex form, to define the key that will be used to
authorize the agent to receive packets for the host.
priv
– Adding the priv (privacy) parameter will allow for encryption in addition
to the authentication algorithm for higher security. The user may choose:
none
– Adding this parameter will add no encryption.
des
– Adding this parameter will allow for a 56-bit encryption to be
added using the DES-56 standard using:
<priv_password 8-16>
- An alphanumeric string of between 8
and 16 characters that will be used to encrypt the contents of
messages the host sends to the agent.
<priv_key 32-32>
- Enter an alphanumeric key string of
exactly 32 characters, in hex form, that will be used to encrypt
the contents of messages the host sends to the agent.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To create an SNMP user on the Switch:
DGS-3612G:4#create snmp user dlink default encrypted by_password auth md5
canadian priv none
Command: create snmp user dlink default encrypted by_password auth md5
canadian priv none
Success.
DGS-3612G:4#
29