Sets the enable password to test
enable password test
Sets the enable secret password to test1. Supersedes the enable password.
enable secret test1
Changes to line mode to configure the console, aux, and VTY (Telnet).
line line
The line password for aux, console, and VTY (Telnet) are all set in line configuration mode.
password password
When a line is configured to use a password, the login command must be set to prompt for login.
login
Encrypts the passwords in the clear text configuration file (both running-config and startup-config).
service password- encryption
do show run
To prevent this:
service password-encryption
Display the configuration again:
do show run
NOTE: Passwords cannot be seen anymore in plain text.
To configure the inactive session timeout on the console port or the virtual terminal, use the exec-timeout command.
exec-timeout
When enabled on a console, logging synchronous causes all router status messages to be displayed on a new line.
logging synchronous