Creates or changes the attributes of SNMPv3 users, and allows the SNMPv3 user to be associated with the user-defined group name.
None
Global configuration mode
This command configures SNMPv3 users that can be associated with a trap and inform response functionality. This command also allows configured user to be associated with user-defined SNMP groups created using the snmp-server group command. The maximum number of SNMP users that can be configured is 10. Optional encryption for auth-password and priv-password is also provided.
When creating a new SNMPv3 user without group name, by default there is no group name mapped with the SNMPv3 user. You must map the configured SNMPv3 user with any non-existing or existing group name available in the group CLI configuration to contact the device through SNMPv3.
This command may not be successful where encrypted passwords are generated by third-party or open-source tools.
Use the no form of the command to remove an SNMP user.
It is recommended not to delete users without stopping the SNMP service. If SNMP service is running, and a user is deleted, then a device restart is required.
The following example configures a basic authentication policy.
device(config)# snmp-server user extreme groupname snmpadmin auth md5 auth-password user123 priv AES128 priv-password user456
The following example configures plain-text passwords.
device(config)# snmp-server user snmpadmin1 auth md5 auth-password private123 priv DES priv-password public123
The following example configures configure encrypted passwords.
device(config)# snmp-server user snmpadmin2 groupname snmpadmin auth md5 auth-password "MVb+360X3kcfBzug5Vo6dQ==\n" priv DES priv-password "ckJFoHbzVvhR0xFRPjsMTA==\n" encrypted
The following example creates the SNMP users "user1" and "user2" associated with used-defined group "group1" under global configuration mode.
device(config)# snmp-server user user1 groupname group1 device(config)# snmp-server user user2 groupname group1 auth md5 auth-password password priv DES priv-password password
The following example deletes a SNMP user.
SLX(config)# no snmp-server user user3 % Info: SNMP user delete operation is recommended when SNMP agent is not running, else it requires system reload to take effect.