You are on page 1of 1

3.5.

3 Set Console and VTY Passwords

You want to require a password when connecting to the Branch1 switch through the
console or through a VTY line. You've already configured cisco as the enable
secret.

In this lab, your task is to:

Set the Branch1 password using the password command. Use the login command to
require the password. If you configure the password but don't use the login
command, login is allowed without the password. Configure the following passwords:
Line Password
Console 0 tp89jy5$
VTY 0 ak73#pt
VTY 1�4 pj61@bb4
Make sure login is allowed on the console and the VTY lines with a password.
Prevent access through the remaining VTY lines (5�15). To prevent login, use
the login command but do not set a password.
Save your changes to the startup-config file.

Complete this lab as follows:

Select Branch1.
Press Enter to get started.
At the Branch1> prompt, type enable and press Enter.
Type cisco as the password and press Enter.
At the Branch1# prompt, type config t and press Enter.
At the Branch1(config)# prompt, type line con 0 and press Enter.
At the Branch1(line)# prompt, type password tp89jy5$ and press Enter.
At the Branch1(line)# prompt, type login and press Enter.
At the Branch1(line)# prompt, type line vty 0 and press Enter.
At the Branch1(line)# prompt, type password ak73#pt and press Enter.
At the Branch1(line)# prompt, type login and press Enter.
At the Branch1(line)# prompt, type line vty 1 4 and press Enter.
At the Branch1(line)# prompt, type password pj61@bb4 and press Enter.
At the Branch1(line)# prompt, type login and press Enter.
At the Branch1(line)# prompt, type line vty 5 15 and press Enter.
At the Branch1(line)# prompt, type login and press Enter.
At the Branch1(line)# prompt, type exit and press Enter.
At the Branch1(config)# prompt, type exit and press Enter.
At the Router# prompt, type copy run start and press Enter.
Press Enter to begin building the configuration.

You might also like