FW 08.01.00 McDATA E/OS Command Line Interface User Manual (620-000134-740, November 2005)
2
2-80
E/OS Command Line Interface User Manual
config
config.snmp.addUserEntry
Syntax addUserEntry index username authPtcl privPtcl
Purpose This command adds a User-based Security Model (USM) user entry
to the User Table (RFC 2574). It also specifies the authentication
protocol and privacy protocol for this user.
Parameters This command has four parameters:
NOTE: Privacy protocol can be selected only when authentication is enabled.
Command Example Root> config snmp adduserentry 1 smith noauth noprivacy
Root> config snmp adduserentry 1 smith md5 des
Auth Password:16 byte key (eg: 1234 5678 9123 4567)
Confirm: Retype the auth password
Privacy Password:16 byte key (eg: 1234 5678 9123 4567)
index Index of the target entry. Valid values are 1 to 6.
username Specifies the User Name (also referred to as
Security Name). The maximum length for the
User Name is 32 characters. All characters in the
ISO-Latin 1 character set are valid. Duplicate
entries are not allowed.
authPtcl Specifies the authentication protocol being used
by this user. The possible values for this
parameter are noauth, md5 and sha. The value
noauth specifies that this user does not use any
authentication protocol. The values MD5 and
SHA specify that the respective protocols that
are used for authentication. If this parameter is
set to MD5 or SHA, then after the command has
been executed, the user will be prompted twice
for a 16 byte MD5 key, or a 20 byte SHA key.
privPtcl Specifies the privacy protocol being used by
this user entry. This parameter can take the
values noprivacy and des. If this parameter is set
to DES, then after the prompt for the
authentication key, the user will be prompted
twice for a 16 byte DES key.