A network security architect is hardening a newly initialized Cisco IOS XE enterprise router. Arrange the following CLI configuration commands in the mandatory order required to establish local database authentication for remote management, ensuring that local privileged credentials using scrypt hashing are created prior to entering the line context, local authentication is bound to the VTY lines, and unencrypted management sessions are blocked.
- 1username netsec_admin privilege 15 algorithm-type scrypt secret C!sc0_Sec#2026
- 2line vty 0 4
- 3login local
- 4text transport input ssh
Cevap
The correct sequence of CLI operations begins in global configuration mode by defining the local administrative account with scrypt secret encryption ('username netsec_admin privilege 15 algorithm-type scrypt secret C!sc0_Sec#2026'). Next, enter line subconfiguration mode ('line vty 0 4'). Within the line context, enable local database lookup ('login local'), and finally restrict line access protocols strictly to SSH ('transport input ssh').
The proper administrative sequence requires creating the global local database account first using 'username netsec_admin privilege 15 algorithm-type scrypt secret C!sc0_Sec#2026'. Once the account exists, the administrator enters VTY line submode with 'line vty 0 4', binds line authentication to the local database using 'login local', and secures line transport by executing 'transport input ssh'.
Adım Adım Çözüm
Anahtar Kavram
Cisco IOS CLI hierarchy and local authentication dependency sequence