11.4.2.6 Lab - Managing Router Configuration Files With Terminal Emulation Software
11.4.2.6 Lab - Managing Router Configuration Files With Terminal Emulation Software
11.4.2.6 Lab - Managing Router Configuration Files With Terminal Emulation Software
Emulation Software
Topology
Addressing Table
Device
Interface
IP Address
Subnet Mask
Default Gateway
R1
G0/1
192.168.1.1
255.255.255.0
N/A
S1
VLAN 1
192.168.1.11
255.255.255.0
192.168.1.1
PC-A
NIC
192.168.1.3
255.255.255.0
192.168.1.1
Objectives
Part 1: Configure Basic Device Settings
Part 2: Use Terminal Emulation Software to Create a Backup Configuration File
Part 3: Use a Backup Configuration File to Restore a Router
Background / Scenario
It is a recommended best practice to maintain backup configuration files for routers and switches in the event
that they need to be restored to a previous configuration. Terminal emulation software can be used to easily
back up or restore a router or switch configuration file.
In this lab, you will use Tera Term to back up a router running configuration file, erase the router startup
configuration file, reload the router, and then restore the missing router configuration from the backup
configuration file.
Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services Routers (ISRs) with
Cisco IOS Release 15.2(4)M3 (universalk9 image). The switches used are Cisco Catalyst 2960s with Cisco
IOS Release 15.0(2) (lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used.
Depending on the model and Cisco IOS version, the commands available and output produced might vary
from what is shown in the labs. Refer to the Router Interface Summary Table at the end of this lab for the
correct interface identifiers.
Note: Make sure that the routers and switches have been erased and have no startup configurations. If you
are unsure, contact your instructor.
Required Resources
1 Router (Cisco 1941 with Cisco IOS Release 15.2(4)M3 universal image or comparable)
1 Switch (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)
Console cables to configure the Cisco IOS devices via the console ports
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 1 of 6
Step 3: Configure the PC-A network settings according to the Addressing Table.
Step 4: Initialize and reload the router and switch.
Step 5: Configure the router.
a. Console into the router and enter global configuration mode.
b. Set the router name to R1.
c.
Configure and activate the G0/1 interface on the router using the information contained in the Addressing
Table.
j.
Configure the default SVI management interface with the IP address information contained in the
Addressing Table.
j.
k.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 6
c.
The Tera Term log file will create a record of every command issued and every output displayed.
Note: You can use this feature to capture the output from several commands in sequence and use it for
network documentation purposes. For example, you could issue the show version, show ip interface
brief, and show running-config commands to capture information about the router.
g. Continue pressing the space bar when --More-- is displayed until you see the router R1# prompt return.
h. Click the Tera Term: Log icon on the Task bar. Click Close to end log session.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 3 of 6
Note: You can also copy and paste the text from the Tera Term window directly into a text editor.
At the System Configuration Dialog prompt, type no; a router prompt displays, indicating an unconfigured
router.
--- System Configuration Dialog --Would you like to enter the initial configuration dialog? [yes/no]:
Press RETURN to get started!
<output omitted>
Router>
d. Enter privileged EXEC mode and enter a show running-config command to verify that all of the previous
configurations were erased.
Step 12: Edit the saved configuration backup file to prepare it for restoring the router
configuration.
To restore the router configuration from a saved running configuration backup file, you must edit the text.
e. Open the teraterm.log text file.
f.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 4 of 6
In the lines for interface GigabitEthernet0/1, insert a new line to enable the interface.
interface GigabitEthernet0/1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
Change to:
interface GigabitEthernet0/1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
no shutdown
j.
Change the message-of-the-day (MOTD) banner configuration to insert the delimiting characters as if you
were entering the command at the command line.
banner motd ^C Unauthorized Access is Prohibited! ^C
Change to:
banner motd Unauthorized Access is Prohibited!
k.
l.
After you have made all of the edits to the backup configuration file, save your changes to filename, R1config-backup.
Note: When saving the file, an extension, such as .txt, may be added to the filename automatically.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 5 of 6
Reflection
Why do you think it is important to use a text editor instead of a word processor to copy and save your
command configurations?
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
Ethernet Interface #1
Ethernet Interface #2
Serial Interface #1
Serial Interface #2
1800
1900
2801
2811
2900
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 6 of 6