Stand-Alone Lab: Router Basics Part II: Objective
Stand-Alone Lab: Router Basics Part II: Objective
Lab Topology
The topology in this lab contains three 2800 series Cisco routers.
S0/0/0
Router2 S0/0/1
S0/0/0
S0/0/0
Router1
Router3
Command Summary
CommandDescription
banner login
[delimitingcharacter
message
delimitingcharacter]
banner motd
[delimitingcharacter
message
delimitingcharacter]
con gure
terminal
enable
enable
password
password
enable secret
password
end
con gures a
message that is
displayed at
user login
attempts
con gures a
message-of-theday (MOTD)
banner that can
be used to
display a
message at user
login attempts
enters global
con guration
mode from
privileged EXEC
mode
enters privileged
EXEC mode
sets the enable
password
login
enables
password
checking
login local
changes a login
user name
password
speci es the
password
password that is
required for a
user to log in
service
applies
passwordencryption to all
encryption
current and
future
passwords con
gured on the
device
show running- displays the
con g
active con
guration le
2. Con gure an enable password of boson and an enable secret password of cisco on Router1.
3. Test the passwords you con gured by logging out of the router and then typing enable at the user EXEC
mode prompt. Try to use boson as the password to access privileged EXEC mode on Router1.
Authentication will fail because the enable secret password overrides the enable password. Therefore, if
both passwords are set, you must use the enable secret password to enter privileged EXEC mode. Enter
cisco to access Router1.
4. Con gure a password for Router1s console port by issuing the following commands:
6. Issue the show running-con g command to view the passwords con gured on Router1. The following
sample output shows that the enable password and console password are stored in plain text. Conversely,
the enable secret password is stored in an encrypted form.
7. Router1 can be con gured to store current and future passwords in an encrypted form by using the
service password-encryption command. Issue the following commands to encrypt all current and future
passwords stored on Router1:
9. A Cisco device has the ability to be con gured remotely by using a virtual terminal (vty) line. The line vty
0 4 command enables you to enter the con guration mode necessary to enable remote access to the
device and set remote access passwords. By default, the line vty password is stored as plain text. Con
gure a password for Router1s vty lines by issuing the following commands:
If service password encryption had not been con gured on Router1, the password con gured on the vty
lines would be displayed as shown below:
2. To view the banner, exit global con guration mode and exit the router. Press ENTER to display the
banner.
3. The banner login command is used to display a login message. This message is displayed when a
device is con gured to require a user name and password. Con gure You must be an authorized user to
access this device as the login banner on Router1; use $ as a delimiting character. Use MyName as the
user name and cisco as the password.
2. You should issue the following commands to con gure cisco as a password for the console port of
Router2 and Router3:
4. You should issue the service password-encryption command to store all current and future passwords
on Router2 and Router3 in an encrypted form.
5. A Cisco device has the ability to be con gured remotely using a virtual terminal line. The line vty 0 4
command enables you to enter the con guration mode necessary to enable remote access to the device
and set the remote access password. By default, the line vty password is stored as plain text. However, the
password con gured on the vty lines in this step will be stored in an encrypted form because service
password encryption has been enabled. Router2 and Router3 can support ve simultaneous remote access
sessions using Telnet. Issue the following commands to enable remote access on both routers:
2. On Router2 and Router3, you should issue the following commands to con gure the login banner:
Router1Router1 (continued)
Copyright 19962012 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by
copyright law.