HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual

Testing SNMP Managers
To send a test trap to all SNMP managers displayed with the showsnmpmgr command, issue
the checksnmp command. The CLI displays the IP addresses of the tested mangers.
For details about the test trap sent by the checksnmp command, see the HP 3PAR InForm OS
Command Line Interface Reference and InForm OS CLI Help.
Creating SNMPv3 Users
To create SNMPv3 users you must have Super role user rights, or any role granted the
snmpuser_create right. The createsnmpuser command creates the SNMPv3 user secret
key used for generating authentication and privacy keys. The user name must be an existing InForm
OS local user. For more information about the createsnmpuser command, see the HP 3PAR
InForm OS Command Line Interface Reference.
To create an SNMPv3 user, issue the createsnmpuser -p <password> <user_name>
command, where:
<password> is the password of the InForm OS local user. The password is converted
to an SNPMv3 secret key. If a password is not specified with the -p option, the system
prompts you to enter the password of the local user.
<user_name>is the InForm OS local user name. This user name is used as the SNMPv3
user name.
You can verify the creation of a new user with the showsnmpuser command.
Viewing SNMPv3 Users
To display information about SNMPv3 users and privacy protocols, use the showsnmpuser
command. For more information about the showsnmpuser command, see the HP 3PAR InForm
OS Command Line Interface Reference.
To display all the SNMPv3 users of a system, issue the showsnmpuser command.
To display information for a specific showsnmpuser user, issue the showuser <user_name>
command, where <user_name> is the name of the user.
NOTE: Users with Browse or Service roles are limited to viewing the information for their own
accounts.
Removing SNMPv3 Users
After an SNMPv3 user is removed with the removesnmpuser command, an SNMPv3 manager
can no longer use that user name to send requests to the SNMP agent. The InForm OS local user
name remains valid unless it is removed with the removeuser <user_name> command. Removing
a local user name with the removeuser command also removes the SNMPv3 user name from
the system.
To remove an SNMPv3 user from the system, issue the removesnmpuser <user_name>
command, where <user_name> is the name of the user.
nl
You can verify the removal of a user with the showsnmpuser command.
140 Using the InForm OS SNMP Infrastructure