-
-
Select Set manager password or Set operator password. You will then be prompted with
Enter new password
. -
Type a password of up to 16 ASCII characters with no spaces, and press Enter. (Remember that passwords are case-sensitive.)
-
When prompted with
Enter new password again
, retype the new password and press Enter.
-
After you configure a password, if you subsequently start a new console session, you will be prompted to enter the password. Remember that usernames are optional. If you use the CLI or WebAgent to configure an optional username, the switch will prompt you for the username, and then the password.
This procedure deletes all usernames (if configured) and passwords (manager and operator).
Option one
Option two
If you do not have physical access to the switch, you will need manager-level access:
Syntax:
Configuring manager and operator passwords
HP Switch(config)# password manager New password: ******* Please retype new password: ******* HP Switch(config)# password operator New password: ******** Please retype new password: ********
Removing password protection means to eliminate password security. This command prompts you to verify that you want to remove one or both passwords, then clears the indicated password(s). (This command also clears the username associated with a password you are removing.) For example, to remove the operator password (and username, if assigned) from the switch, you would do the following:
Removing a password and associated username from a switch
HP Switch(config)# no password Password protection will be deleted, do you want to continue [y/n]? y HP Switch(config)#
The effect of executing the no password
command is to remove password protection from the Operator level. (This means that anyone who can access the switch console can gain Operator access without having to enter a username or password.)