Saving local manager and operator passwords

The information saved to the running-config file when the include-credentials command is entered includes:

password manager [user-name <name>] <hash-type> <pass-hash>
password operator [user-name <name>] <hash-type> <pass-hash>
where
<name>
is an alphanumeric string for the user name assigned to the manager or operator.
<hash-type>
indicates the type of hash algorithm used: SHA-1 or plain text.
<pass-hash>
is the SHA-1 authentication protocol's hash of the password or clear ASCII text.
For example, a manager user name and password can be stored in a running-config file as follows:
Manager/User name storage

Use the write memory command to save the password configurations in the startup-config file. The passwords take effect when the switch boots with the software version associated with that configuration file.

CAUTION:

If a startup-config file includes other security credentials, but does not contain a manager or operator password, the switch does not have password protection and can be accessed through Telnet, the serial port, or WebAgent with full manager privileges.