HP 3PAR OS 3.1.3 Command Line Interface Reference

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.
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
setsnmppw 315