Previous page Next page

Creating or Modifying a User

To create or modify an SNMPv3 user, use the following CLI command:

(configure)# snmp-server user <username> [group <groupname>] [�[localized] auth {sha | md5} <auth-password> [priv <priv-password>] ]

Table�26 defines the command keywords and variables.

Table�26:�snmp-server user Command Parameters
Parameter
Description
<username>
User name for the SNMPv3 user. The user name can range from 1 to 32 alphanumeric characters.

Important: Do not assign a community string and SNMPv3 user the same name.

<groupname>
Name of the group to which you are assigning the user.
localized
Use this keyword if you want to enter the authentication password and privacy password in their localized form instead of text.
Localized passwords consist of the engine ID plus the password and are then hashed by either HMAC-SHA or HMAC-MD5.
sha
Authenticates the user by means of HMAC-SHA.
md5
Authenticates the user by means of HMAC-MD5.
<auth-password>
The authentication password for the user:
  • Text passwords can range from 8 to 64 characters.
  • Localized HMAC-SHA-hashed passwords must be 20 bytes.
  • Localized HMAC-MD5-hashed passwords must be 16 bytes.
Enter all localized passwords in the format of nn:nn:nn....
<priv-password>
The encryption password for the user.
  • Text passwords can range from 8 to 64 characters.
  • Localized, HMAC-SHA- or HMAC-MD5-hashed encryption passwords must be 16 bytes.
Enter all localized passwords in the format of nn:nn:nn....


Previous page Next page