Defining the USM users
As part of the configuration steps to define the USM users, you are also required to specify the following information:
- Type of security protocol (authentication, privacy, or both) to apply to the SNMP messages sent between an SNMP manager and an SNMP client
- Secret keys associated with the selected security protocols
Before defining the USM users, configure the secret keys associated with the security protocols so that these are added to the databases of the SNMP entities that are to share the keys.
The following table shows the following configurations for USM:
- The auditbot user employs authentication only
- The netadmin and supportl2 users employ authentication and privacy
To define the USM users, perform the following steps in configuration mode. You must specify at least one of the security protocols (authentication or privacy).
Step | Command |
---|---|
If you are using the authentication protocol to authenticate the user, specify the name of the user, authentication protocol, and authentication password. In this example, a clear-text password is used to authenticate a user. Note: The clear-text passwords are converted to encrypted keys after the commands are committed. |
|
If you are using the privacy protocol to provide data confidentiality for SNMPv3 traffic, specify the name of the user, privacy protocol, and privacy password. In this example, a clear-text password is used to encrypt the SNMP traffic. Note: The clear-text passwords are converted to encrypted keys after the commands are committed. |
|
Commit the change. |
|
Verify the configuration. Note that the clear-text passwords configured for each of the users have been converted to encrypted keys and that engine IDs have been added to each user configuration where the user authentication protocol is used for authenticating the user. |
|
Verify the configuration. |
|