snmp-server user command

Last Updated : Jan 03, 2017 |

Use the snmp-server user command to create a user or to change the parameters of an existing user. This command includes the following parameters:

  • A user name for the user

  • The name of the SNMP group with which to associate the user

  • The SNMP version functionality that the user is authorized to use. Possible values are: v1 (SNMPv1), v2c (SNMPv2c), and v3 (SNMPv3).

  • For an SNMPv3 user, which authentication protocol to use, if any. Possible values are: md5 (HMAC MD5), and sha (HMAC SHA-1). If you specify an authentication protocol, you must also configure an authentication password for the user. The authentication password is transformed using the authentication protocol and the SNMP engine ID to create an authentication key.

  • For an SNMPv3 user, whether or not to use the DES/AES privacy protocol, and the user’s privacy password if you enable DES/AES privacy.

Use the no form of the snmp-server user command to remove a user and its mapping to a specified group. If you do not specify a group, the no form of the snmp-server user command removes the user from all groups.