Quiz Entry - updated: 2026.07.05
How do you secure user EXEC mode access on the console port?
Enter line console 0, set password <pw>, then login — the login command is what actually enforces the prompt.
Switch(config)# line console 0
Switch(config-line)# password cisco
Switch(config-line)# login
Switch(config-line)# end
Steps:
- Enter line console configuration mode with
line console 0 - Set the password with
password <password> - Enable password checking with
login
The login command is required to enforce the password requirement.
Go deeper:
Jeremy's IT Lab — SSH (CCNA Day 42) — configures console and line passwords with
loginstep by step.