For SNMP v3:
snmpuserconfig -v 3 -r|-w -u <user> [-o <user>] [-sauthNoPriv | authPriv] [-a <auth_passwd>] [--auth_prot<protocol>][-p <priv_passwd>] [--priv_prot <protocol>] --add | --delete | --change
snmpuserconfig --help | -h
where,
-v: SNMP version (1, 2, 3)
-r: Read-only entry
-w: Read/write access
-u: v3 user name
-o: Previous community/user name (only valid with the change
option, required when changing the user/community name.)
-s: v3 security model (authNoPriv, authPriv)
-a: v3 authentication password
--auth_prot: Authentication protocol
-p: v3 privacy password
--priv_prot: v3 privacy protocol (none, DES, AES128)
--add: Add user
--delete: Delete user
--change: Modify user
--auth_list: List supported authentication protocols
--priv_list: List supported privacy protocols
--rclist: List possible return codes from this command
--rccode: Obtain error string associated with a return code
--help | -h: Usage (this)