User manual

2
2-88
E/OS Command Line Interface User Manual
config
Using Authentication (Auth): The authentication protocols such as
HMAC-MD5 or HMAC-SHA will be used to calculate the hash value
for the packet and this calculated Hash value will be sent along with
the packets as part of the SNMPv3 Header.
Using privacy (priv): The data part of the packet will be encrypted
using a privacy protocol such as DES. Privacy without authentication
is not allowed by SNMPv3. Presently, the only authentication
protocols supported are HMAC-MD5 and HMAC-SHA. DES is the
only privacy protocol that is supported.
Command Example
Root> config snmp addtargetparams 1 joe v1 authpriv
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:
secLevel Specifies the security level for this entry. It
specifies whether the entry requires authentication
and/or privacy. The following values are valid:
authPriv: Requires both authentication and privacy
authNoPriv: Requires authentication, but no
privacy
noAuthNoPriv: Requires neither authentication nor
privacy
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.