Cisco Certified Network Associate (CCNA) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Study for the Cisco Certified Network Associate (CCNA) exam with our comprehensive quiz featuring multiple-choice questions and detailed explanations. Prepare effectively and enhance your understanding of networking concepts!

Practice this question and more.


What command is used to set the Telnet password for remote access?

  1. (config)#line vty 0 4

  2. (config-line)#password PASSWORD

  3. (config-line)#login

  4. All of the above

The correct answer is: All of the above

The command used to set the Telnet password for remote access involves a series of steps where multiple commands come into play. First, you access the virtual terminal lines with the command that specifies the range of lines available for Telnet connections. The command to do this, which sets the stage for password configuration, is “line vty 0 4.” This allows you to configure the settings for virtual terminal lines 0 through 4, which are typically used for Telnet sessions. Once in the line configuration mode, the next command is to set the password itself with the command “password PASSWORD.” This command is pivotal as it directly sets the password required for users to connect to the network via Telnet. Finally, the command “login” is used to enable password checking at login for the configured lines. In this context, it ensures that when someone tries to access the device via Telnet, they must enter the password defined in the previous step. Since all these commands work together to enable Telnet access with a password requirement, the correct answer recognizes that each command plays a crucial role in the overall process of setting up Telnet password protection.