local | remote —— User Type, with local and remote options. Local indicates that
the user is connected to a local SNMP engine, while remote means that the user
is connected to a remote SNMP engine.
group-name —— The Group Name of the User. The User is classified to the
corresponding Group according to its Group Name, Security Model and Security
Level.
smode { v1 | v2c | v3 } —— The Security Model of the User, with v1, v2c and v3
options. By default, the option is v1. The Security Model of the User must be the
same with that of the Group which the User belongs to.
slev { noAuthNoPriv | authNoPriv | authPriv } —— The Security Level of SNMP
v3 Group. There are three options, including noAuthNoPriv (no authorization and
no encryption), authNoPriv (authorization and no encryption) and authPriv
(authorization and encryption). By default, the option is “noAuthNoPriv”. The
Security Level of the User must be the same with that of the Group which the
User belongs to.
cmode { none | MD5 | SHA } —— The Authentication Mode of the SNMP v3
User, with none, MD5 and SHA options. None indicates no authentication
method is used, MD5 indicates the port authentication is performed via
HMAC-MD5 algorithm and SHA indicates the port authentication is performed
via SHA (Secure Hash Algorithm). SHA authentication mode has a higher
security than MD5 mode. By default, the Authentication Mode is “none”.
confirm-pwd —— Authentication Password, ranging from 1 to 16 characters.
emode { none | DES } —— The Privacy Mode of the SNMP v3 User, with none
and DES options. None indicates no privacy method is used, and DES indicates
DES encryption method is used. By default, the Privacy Mode is “none”.
encrypt-pwd —— Privacy Password, ranging from 1 to 16 characters.
Command Mode
Global Configuration Mode
Example
Add Local User admin to Group group2, and configure the Security Model of the
user as v3, the Security Level of the group as authPriv, the Authentication Mode
of the user as MD5, the Authentication Password as 11111, the Privacy Mode as
DES, and the Privacy Password as 22222:
TL-SG3424(config)# snmp-server user admin local group2 smode v3 slev
authPriv cmode MD5 cpwd 11111 emode DES epwd 22222
239