A network administrator is configuring secure management access on a newly deployed access switch named SW-ACCESS-03. The switch already has a non-default hostname and an active IP domain name configured. The organization requires that all remote administrative sessions use SSH version 2 and that legacy Telnet connections are explicitly blocked. Which two CLI configuration steps are required to complete this task? (Select TWO.)
- Execute 'crypto key generate rsa modulus 2048' in global configuration mode.Answer
- Execute 'transport input ssh' under the VTY line configuration mode.Answer
- CExecute 'crypto key generate rsa modulus 512' in global configuration mode.
- DExecute 'transport input telnet' under the VTY line configuration mode.
Answer
The required steps are generating an RSA key pair with a modulus size of 2048 bits in global configuration mode and applying 'transport input ssh' under VTY line configuration mode.
Generating an RSA key with a 2048-bit modulus enables SSH version 2 on Cisco IOS, as SSH v2 requires a key size of at least 768 bits. Additionally, configuring 'transport input ssh' on the VTY lines enforces SSH as the sole inbound management protocol, effectively blocking insecure Telnet connections.
Step-by-Step Solution
Key Concept
SSHv2 Prerequisites and VTY Protocol Binding