A network technician needs to harden local console line access on a Cisco IOS XE switch using the local user database. Arrange the following Cisco IOS CLI commands in the correct sequential order required to perform this configuration, starting from Privileged EXEC mode (`Switch#`).
- 1configure terminal
- 2username admin algorithm-type scrypt secret C1scoPass123!
- 3line console 0
- 4login local
- 5exit
Answer
The correct command sequence begins with entering global configuration mode (`configure terminal`), creating the local user account (`username admin algorithm-type scrypt secret C1scoPass123!`), accessing the line console context (`line console 0`), enforcing local authentication (`login local`), and exiting line configuration mode (`exit`).
Configuring local user access requires navigating hierarchy levels in Cisco IOS. Starting from `Switch#`, the administrator enters global configuration mode using `configure terminal`. Next, creating the local account with `username ... secret ...` populates the local user database. The technician then transitions into line configuration mode with `line console 0` and binds authentication to the local database using `login local`. Finally, issuing `exit` leaves line configuration mode.
Step-by-Step Solution
Key Concept
Local Database Authentication and Line Console Security Configuration
Estimated Time:1m 30s