0% found this document useful (0 votes)
111 views6 pages

Stand-Alone Lab: Router Basics Part II: Objective

Cisco Router Config

Uploaded by

Srinivas Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
111 views6 pages

Stand-Alone Lab: Router Basics Part II: Objective

Cisco Router Config

Uploaded by

Srinivas Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Router Configuration

Lab ID: 8.8K812A031.SAI1.2

Stand-Alone Lab: Router Basics Part II


Objective
Learn how to properly con gure a router. You would typically perform these types of tasks when setting up
the local area network (LAN) for a new of ce. Con gure all three routers with basic settings: set the
routers host names, con gure basic security, and con gure a login banner.

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

sets the enable


secret password
ends and exits
con guration
mode
hostname host- sets the device
name
name
line console 0 accesses
console line con
guration mode
line vty 0 4
enters con
guration mode
for virtual
terminal (Telnet)
lines

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

1Boson NetSim Lab Manual


Lab Tasks
Task 1: Load the Initial Network Con guration
Make sure that the correct topology and con guration les for this lab are loaded. This will occur
automatically when you load this lab by using the Lab Navigator.

Task 2: Perform Initial Router Con guration


Con gure basic security for Router1. 1. From user EXEC mode, issue the enable command to enter
privileged EXEC mode. Then con gure a host name of Router1 for the router.


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:

2Boson NetSim Lab Manual


5. Test the passwords currently con gured on Router1 by logging out of the router and then pressing the
ENTER key.


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:

3Boson NetSim Lab Manual


8. Verify that the passwords con gured on Router1 are not stored in plain text format.

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:

4Boson NetSim Lab Manual


10. Issue the show running-con g command to view the password you con gured for remote access.
Note that the vty password is stored in an encrypted form.

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:

5Boson NetSim Lab Manual


Task 3: Con gure Banner Messages
Con gure an MOTD banner and a login banner on Router1. Banners are used to display information about
devices or to display security messages. 1. The banner motd command is used to con gure a message
that is displayed when a user accesses a device. Issue the banner motd command followed by a
delimiting character, and then press ENTER. Note that the delimiting character should not be one you are
going to use within the message. Type the text of the message you want to display; use This device is
used to route traf c between departments. Next, type the delimiting character so the router knows when
you are nished entering text for the banner; use # as the delimiting character.

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.

6Boson NetSim Lab Manual


4. Enter the following commands to view the banners con gured on Router1. Note that when the login
banner and the MOTD banner are both con gured, the MOTD banner is displayed rst, followed by the
login banner.

Task 4: Perform Initial Router Con guration


In this task, you will con gure basic security and banners for Router2 and Router3. 1. Con gure Router2
with a host name of Router2 and Router3 with a host name of Router3. Then con gure boson as an
enable password and cisco as an enable secret password on both routers. Which password will be
required the next time you issue the enable command to access privileged EXEC mode on Router2 or
Router3? __________________________________________________________________________
2. Con gure cisco as a password for the console port of Router2 and Router3.
3. On Router2, issue the show running-con g command to view the con gured passwords. How are the
passwords displayed in the running con guration displayed? ____________________________________
4. Con gure Router2 and Router3 to store all current and future passwords in an encrypted form.
5. Issue the commands necessary to enable remote access on Router2 and Router3. Use cisco as the
password where appropriate. How many simultaneous remote access sessions using Telnet can Router2
support? _____________________________________________________________________________
In what form will the password you con gured in this step be stored in the running con guration? _______
____________________________________________________________________________________

Task 5: Con gure Banner Messages


Con gure an MOTD banner and a login banner on Router2 and Router3. Banners are used to display
information about devices or to display security messages. 1. Con gure This device is used to route traf
c between departments as a message that will be displayed when a user accesses Router2 and Router3.
Use # as a delimiting character.
2. Con gure Router2 and Router3 to require a user name of MyName and a password of cisco to log in to
the console port. Con gure You must be an authorized user to access this device as a login banner on
both routers. Use $ as a delimiting character.

7Boson NetSim Lab Manual


Lab Solutions
Task 1: Load the Initial Network Con guration
No solution is required.

Task 2: Perform Initial Router Con guration


No solution is required.

Task 3: Con gure Banner Messages


No solution is required.

Task 4: Perform Initial Router Con guration


1. You should issue the following commands to con gure Router2 and Router3 with the appropriate host
names and passwords. The enable secret password will be required the next time you issue the enable
command to access privileged EXEC mode on Router2 or Router3.

2. You should issue the following commands to con gure cisco as a password for the console port of
Router2 and Router3:

8Boson NetSim Lab Manual


3. When you issue the show running-con g command to view the passwords con gured on Router2, you
should receive the output displayed below with the enable password and console password stored in plain
text. The enable secret password is stored in an encrypted form.

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:

9Boson NetSim Lab Manual


Task 5: Con gure Banner Messages
1. On Router2 and Router3, you should issue the following commands to con gure the MOTD banner. The
MOTD banner is displayed when a user accesses a device.

2. On Router2 and Router3, you should issue the following commands to con gure the login banner:

10Boson NetSim Lab Manual


Sample Con guration Script

Router1Router1 (continued)

Copyright 19962012 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by
copyright law.

11Boson NetSim Lab Manual

You might also like