Switch SW1 does not use AAA. It already has local accounts created with username ... secret, RSA keys and SSH version 2. The team wants remote management sessions to prompt for one of those usernames and wants Telnet connections to the switch refused. Which configuration under line vty 0 15 meets both goals?
Choose one.
Without AAA, VTY lines authenticate with login (line password) or login local (username database); transport input chooses accepted protocols.
login local makes the VTY lines prompt for a username and check it against the local accounts. transport input ssh limits inbound sessions to SSH, so Telnet is refused. Plain login uses only the line password, and transport input telnet ssh still accepts Telnet, so each of the other options breaks at least one goal.
- Map 'prompt for a username from the local accounts' to login local.
- Map 'refuse Telnet' to transport input ssh.
- Check that the chosen option gets both settings right.
Exam tip: Local accounts on VTY = login local; SSH only = transport input ssh.
CCNA AAA and Secure File Transfer: Local Users, TACACS+, RADIUS, SCP and SFTP — the lesson that teaches this.