A network security architect is enforcing local authentication policies on a Cisco IOS XE router. The organization requires local user accounts to utilize scrypt key derivation hashing algorithms and mandates that remote management lines authenticate users against the local device database. Which TWO actions or configuration commands meet these requirements?
- Configure 'username admin algorithm-type scrypt secret P@ssw0rd123!' in global configuration mode.Answer
- BConfigure 'service password-encryption' under global configuration mode.
- Execute 'login local' under the line vty configuration mode.Answer
- DConfigure 'username admin password algorithm-type scrypt P@ssw0rd123!' in global configuration mode.
Answer
Configuring 'username admin algorithm-type scrypt secret P@ssw0rd123!' creates a local user account secured with Type 9 scrypt password hashing, and applying 'login local' under line vty forces virtual terminal connections to authenticate against the local user database.
Specifying 'username admin algorithm-type scrypt secret' creates a Type 9 hashed credential using the scrypt password-based key derivation function, satisfying the requirement for strong non-reversible local hashing. Applying 'login local' under VTY line configuration directs the router to authenticate VTY remote connections using the device's local user database.
Step-by-Step Solution
Key Concept
Cisco IOS Local Password Hashing Types and VTY Local Authentication