[Description]
Specifies the administrator password needed to enter priviledged EXEC mode.
If this command is executed with the "no" syntax, the administrator password is deleted.
[Note]
If the password was encrypted by the
password-encryption
command, it is shown in the configuration in the form "
enable
password
8
password
."
The user cannot enter the password in this form when making configuration settings from the command line.
[Example]
Specify admin1234 as the administrator password.
SWR2311P(config)#enable password admin1234
Delete the administrator password.
SWR2311P(config)#no enable password
4.1.3 Encrypt password
[Syntax]
password-encryption
switch
no
password-encryption
[Parameter]
switch
:
Set password encryption
Setting value
Description
enable
Encrypt
disable
Don't encrypt
[Initial value]
password-encryption disable
[Input mode]
global configuration mode
[Description]
Enables password encryption.
If this is enabled, the password entered by the
password
command, the
enable paassword
command, and the
username
command are saved in the configuration in an encrypted form.
If this command is executed with the "no" syntax, password encryption is disabled, and the password entered by the
password
command, the
enable paassword
command, and the
username
command are saved in the configuration as plaintext.
[Note]
If password encryption is changed from disabled to enabled, previously-entered passwords are converted from plaintext to an
encrypted form; however if it is changed from enabled to disabled, previously-encrypted passwords in a configuration file do
not return to plaintext.
[Example]
Enables password encryption.
SWR2311P(config)#password-encryption enable
Disabled password encryption.
SWR2311P(config)#no password-encryption
4.1.4 Allow login with special password
[Syntax]
force-password
switch
no
force-password
Command Reference | Maintenance and operation functions |
27