HP 3PAR Command Line Interface Reference (OS 3.1.2 MU2) (QL226-97016, June 2013)

setsnmppw
DESCRIPTION
The setsnmppw command allows a user to update SNMP access community strings passwords.
The SNMP password is required for the system manager to send requests to the SNMP agent.
WARNING! SNMP cannot be used in Common Criteria mode. It might compromise the security
of the storage system.
SYNTAX
setsnmppw [options] <password>
AUTHORITY
Super
Any role granted the snmppw_set right.
NOTE: You need access to all domains in order to run this command.
OPTIONS
rw|r|w
Specifies that the read-write (rw), read-only (r), or write-only (w) community password is
changed. If not specified, the read/write password is changed.
SPECIFIERS
<password>
Specifies the new user-defined password using up to 50 alphanumeric characters.
RESTRICTIONS
Access to all domains is required to run this command.
EXAMPLES
The following example changes the read/write SNMP community string password to
newpassword1:
cli% setsnmppw newpassword1
The following example changes the read-only SNMP password to newpassword2 by specifying
the r option on the command line:
cli% setsnmppw r newpassword2
The following example changes the write-only SNMP password to newpassword3 by specifying
the w option on the command line:
cli% setsnmppw w newpassword3
326 Set Commands