CLI Reference Guide

Syntax
snmp-server user name { local | remote } group-name [ smode { v1 | v2c | v3 }]
[ slev { noAuthNoPriv | authNoPriv | authPriv }] [ cmode { none | MD5 | SHA }]
[ cpwd confirm-pwd ] [ emode { none | DES }] [ epwd encrypt-pwd ]
no snmp-server user name
Parameter
name —— User Name, ranging from 1 to 16 characters.
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.
e mode { 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
239