Password command options

The password command has the following options:

Syntax

[no] password < manager | operator | port-access > [user-name < name > ] < hash-type > < password >

Set or clear a local user name/password for a given access level.

manager

Configures access to the switch with manager-level privileges.

operator

Configures access to the switch with operator-level privileges.

port access

Configures access to the switch through 802.1X authentication with operator-level privileges.

user-name <name>

The optional text string of the user name associated with the password.

<hash-type>

Specifies the type of algorithm (if any) used to hash the password. One of: plaintext, sha-1, or sha256.

<password>

The clear ASCII text string or SHA-1 hash of the password.

You can enter a manager, operator, or 802.1X port-access password in clear ASCII text or hashed format. However, manager and operator passwords are displayed and saved in a configuration file only in hashed format; port-access passwords are displayed and saved only as plain ASCII text.