A network administrator is hardening remote management access on a factory-reset Cisco IOS router currently running default factory settings. In what sequential order must the administrator execute the CLI commands to properly configure SSHv2 access using local user authentication?
- 1Configure a non-default hostname (`hostname RTR-CORE-02`).
- 2Define the IP domain name (`ip domain-name enterprise.net`).
- 3Generate the RSA key pair with a minimum 768-bit modulus (`crypto key generate rsa modulus 2048`).
- 4Create a local user account in the database (`username secadmin secret P@ssw0rd123`).
- 5Configure VTY lines to use local authentication and restrict transport to SSH (`line vty 0 4`, `login local`, `transport input ssh`).
Cevap
The correct sequence starts with setting a non-default hostname, followed by defining the IP domain name, generating the RSA key pair (modulus >= 768 bits), creating a local user account, and finally configuring the VTY lines with local authentication and SSH transport binding.
Configuring SSHv2 on Cisco IOS requires satisfying dependencies in order: first, set a non-default hostname; second, assign an IP domain name (forming the FQDN); third, generate the RSA key pair with at least 768 bits; fourth, create local user credentials; and fifth, configure VTY lines with `login local` and `transport input ssh`.
Adım Adım Çözüm
Anahtar Kavram
SSHv2 Configuration Prerequisites and Execution Order
Tahmini Süre:1m 30s