User Manual UMN:CLI
V5808
57
To encrypt the password which will be shown at running-config, you should use the
service password-encryption command. And to represent the string (password) is
encrypted, input 8 before the encrypted string.
When you use the password enable command with 8 and “the string”, you will make into
Privileged EXEC Enable mode with the encrypted string. Therefore, to log in the system,
you should do it with the encrypted string as password that you configured after 8. In
short, according to using the 8 option or not, the next string is encrypted or not.
The following is an example of configuring the password in Privileged EXEC Enable
mode as testpassword.
SWITCH# configure terminal
SWITCH(config)# passwd enable testpassword
SWITCH(config)#
The following is an example of accessing after configuring a password.
SWITCH login: admin
Password:
SWITCH> enable
Password:
SWITCH#
To delete the configured password, use the following command.
The created password can be displayed with the show running-config command. To
encrypt the password not to be displayed, use the following command.
service password-encryption
Encrypts the system password.
To disable password encryption, use the following command.
no service password-encryption
Disables password encryption.
4.1.3 Changing Login Password
To configure a password for created account, use the following command.