Configuring local password security

Setting passwords (Menu)

  1. From the Main Menu select:

    3. Console passwords

    Set password screen

    Set password screen
  2. To set a new password:

    1. Select Set manager password or Set operator password. You will then be prompted with Enter new password.

    2. Type a password of up to 16 ASCII characters with no spaces, and press Enter. (Remember that passwords are case-sensitive.)

    3. 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.

Deleting password protection

This procedure deletes all usernames (if configured) and passwords (manager and operator).

Option one
  1. If you have physical access to the switch, press and hold the Clear button (on the front of the switch) for a minimum of one second to clear all password protection.

  2. Enter new passwords.

Option two

If you do not have physical access to the switch, you will need manager-level access:

  1. Enter the console at the manager level.

  2. Select the Set manager password option.

  3. Select to Delete password Protection. Selection will prompt the following:

    Continue Deletion of password protection? No/Yes
    
    1. Press the Space bar to select Yes, then press Enter.

    2. Press Enter to clear the Delete password Protection message.

Recovering from a lost manager password

If you cannot start a console session at the manager level because of a lost manager password, clear the password by following these steps:

  1. Get physical access to the switch.

  2. Press and hold the Clear button on the switch for a minimum of one second.

This deletes all passwords and usernames (manager and operator) used by the console and the WebAgent.

Setting passwords and usernames (CLI)

Syntax:

[no] password <manager|operator|all> [user-name ASCII-STR]

Configuring manager and operator passwords

HP Switch(config)# password manager
New password: ******* 1


Please retype new password: ******* 2


HP Switch(config)# password operator
New password: ********
Please retype new password: ********

1

Password entries appear as asterisks.

2

You must type the password entry twice.

Removing password protection

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.)

Setting passwords and usernames (WebAgent)

In the WebAgent you can enter passwords and (optional) usernames. See the WebAgent Online Help for detailed information.