LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

How do you secure VTY (virtual terminal) lines for remote access?

Enter line vty 0 15, set password <pw>, then login; VTY lines (0-15, 16 total) carry Telnet/SSH and deny access by default until configured.

Switch(config)# line vty 0 15
Switch(config-line)# password cisco
Switch(config-line)# login
Switch(config-line)# end

Key points:

  • VTY lines enable remote access via Telnet or SSH
  • Most Cisco switches support 16 VTY lines (numbered 0 to 15)
  • The login command is required to enforce password checking
  • Without a VTY password configured, remote access is denied by default

Go deeper:

From Quiz: NETW1 / Basic Switch and End Device Configuration | Updated: Jul 05, 2026