Console Line Configuration — Entering line cons 0 After entering global configuration mode on routerA and typing: routerA(config)# line cons 0 what task can you perform next in this console line context?
-
ASet the Telnet password.
-
BShut down the router.
-
CSet your console password.
-
DDisable console connections.
-
EConfigure the enable secret.
Answer
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:
- The command entered is line cons 0 from global configuration mode.
- This selects the console line (physical console) configuration context.
- The goal is to identify actions appropriate to the console line.
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:
- Set Telnet password: Performed under line vty 0 4, not console.
- Shut down the router: That is a system action, not a line configuration.
- Disable console connections: You can restrict or apply transport input none on vty; console physical access cannot be disabled in this way.
- Configure enable secret: Done in global config, not under line console.
Common Pitfalls:Forgetting to add login after setting a password, which leaves the password unused for access control.
Final Answer:Set your console password.