Command Reference Guide
User Account Commands
CLI Command Reference
September 2014 Page 85
HP Moonshot Switch Module CLI Command Reference
password
This command allows the currently logged in user to change his or her password without having read/write
privileges.
Example: The following is an example of the command.
console>password
Enter old password:********
Enter new password:********
Confirm new password:********
password (Line Configuration)
Use the password command in Line Configuration mode to specify a password on a line. The default
configuration is no password is specified.
Example: The following example specifies a password
mcmxxyyy on a line.
(Routing)(config-line)# password mcmxxyyy
Example: The following is another example of the command.
(Routing)(Config-line)# password testtest
(Routing) (Config-line)# password
e8d63677741431114f9e39a853a15e8fd35ad059e2e1b49816c243d7e08152b052eafbf23b528d348cdba1b1b7ab91be84
2278e5e970dbfc62d16dcd13c0b864 encrypted
(Routing) (Config-line)# password
Enter new password:********
Confirm new password:********
Format
password cr
Mode User EXEC
Format
password [password [encrypted]]
Mode Line Config
Parameter Definition
password Password for this level. Range: 8-64 characters
encrypted Encrypted password to be entered, copied from another switch configuration. The
encrypted password should be 128 characters long because the assumption is that this
password is already encrypted with AES.