3
97
administrator must add encrypted in front of this encrypted password when
entering the enable command in switch A. In this way, the two switches will have
the same password.
Passwords are encrypted by default. You only are required to use the encrypted
keyword when you are actually entering an encrypted keyword.
Examples
Example 1 - The command sets a password that has already been encrypted. It
will copied to the configuration file just as it is entered. To use it, the user must
know its unencrypted form.
switchxxxxxx(config)#
4b529f21c93d4706090285b0c10172eb073ffebc4
Example 2 - The command sets an unencrypted password for level 7 (it will be
encrypted in the configuration file).
switchxxxxxx(config)#
3.9
service password-recovery
Use the service password-recovery Global Configuration mode command to
enable the password-recovery mechanism. This mechanism allows an end user,
with physical access to the console port of the device, to enter the boot menu and
trigger the password recovery process. Use the no service password-recovery
command to disable the password-recovery mechanism. When the
password-recovery mechanism is disabled, accessing the boot menu is still
allowed and the user can trigger the password recovery process. The difference
is, that in this case, all the configuration files and all the user files are removed. The
following log message is generated to the terminal: "All the configuration and user
files were removed".
Syntax
service password-recovery
no service password-recovery
Authentication, Authorization and Accounting (AAA) Commands
enable password encrypted
enable password level 7 let-me-in
OL-32830-01 Command Line Interface Reference Guide