A network administrator needs to harden administrative access on a Cisco IOS XE router. The requirement specifies that users connecting via SSH must authenticate against the local device user database, and privileged EXEC mode access must be protected using Type 9 (scrypt) password hashing. Which two CLI configuration tasks must be performed to meet these security requirements? (Select two.)
- Configure enable secret algorithm-type scrypt <password> in global configuration mode.Answer
- Execute the login local command under line vty configuration mode.Answer
- CEnable service password-encryption in global configuration mode to convert existing enable secret passwords into Type 9 hashes.
- DConfigure the login command without additional parameters under line vty configuration mode to trigger local database lookup.
Answer
The two required CLI configuration tasks are configuring enable secret algorithm-type scrypt <password> in global configuration mode and executing login local under line vty configuration mode.
Configuring enable secret with the algorithm-type scrypt option enforces strong Type 9 hashing for privileged EXEC access, and issuing login local under line vty mode forces VTY remote access to validate credentials against local user database accounts.
Step-by-Step Solution
Key Concept
Cisco IOS Local User Authentication and Password Hashing Types