Difficulty: Easy
Correct Answer: Set your console password.
Explanation:
Introduction / Context:
IOS separates configuration contexts to avoid accidental changes. The line configuration mode is used to manage access parameters for console, auxiliary, and vty (Telnet/SSH) lines. Knowing which settings belong to each context improves both security and usability.
Given Data / Assumptions:
Concept / Approach:
Within line console 0, administrators can set the console password, configure login behavior, set exec-timeout, enable/disable logging synchronous, and control access parameters for the local console. Telnet and SSH settings belong to line vty contexts, while privileged password (enable secret) is configured in global configuration mode, not within a line context.
Step-by-Step Solution:
Enter: routerA(config)# line cons 0Set password: password
Verification / Alternative check:
Exit to privileged EXEC and test by reconnecting to the console; you should be prompted for the configured console password if login is enabled.
Why Other Options Are Wrong:
Common Pitfalls:
Forgetting to add login after setting a password, which leaves the password unused for access control.
Final Answer:
Set your console password.
Discussion & Comments