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.
port access
-
Configures access to the switch through 802.1X authentication with operator-level privileges.
<hash-type>
-
Specifies the type of algorithm (if any) used to hash the password. One of:
plaintext
,sha-1
, orsha256
.
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.
-
For more information about configuring local manager and operator passwords, see Configuring Username and Password Security.
-
For more information about configuring a port-access password for 802.1X client authentication, see 802.1X Port-based access control.