Lab4-4.1.4.6 - Configuring Basic Router Settings
Lab4-4.1.4.6 - Configuring Basic Router Settings
Lab4-4.1.4.6 - Configuring Basic Router Settings
Topology
Addressing Table
Device
R1
Interface
IP Address
Subnet Mask
Default Gateway
G0/0
192.168.0.1
255.255.255.0
N/A
G0/1
192.168.1.1
255.255.255.0
N/A
PC-A
NIC
192.168.1.3
255.255.255.0
192.168.1.1
PC-B
NIC
192.168.0.3
255.255.255.0
192.168.0.1
Objectives
Part 1: Set Up the Topology and Initialize Devices
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 1 of 19
Background / Scenario
This is a comprehensive lab to review previously covered IOS router commands. In Parts 1 and 2, you will
cable the equipment and complete basic configurations and IPv4 interface settings on the router.
In Part 3, you will use SSH to connect to the router remotely and utilize IOS commands to retrieve information
from the device to answer questions about the router. In Part 4, you will configure IPv6 on the router so that
PC-B can acquire an IP address and then verify connectivity.
For review purposes, this lab provides the commands necessary for specific router configurations.
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 2960 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 router and switch have been erased and have no startup configurations. Refer to
Appendix A for the procedures to initialize and reload devices.
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)
2 PCs (Windows 7, Vista, or XP with terminal emulation program, such as Tera Term)
Console cables to configure the Cisco IOS devices via the console ports
Note: The Gigabit Ethernet interfaces on Cisco 1941 ISRs are autosensing and an Ethernet straight-through
cable can be used between the router and PC-B. If using another model Cisco router, it may be necessary to
use an Ethernet crossover cable.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 19
d. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered commands as
though they were hostnames.
R1(config)# no ip domain-lookup
e. Require that a minimum of 10 characters be used for all passwords.
R1(config)# security passwords min-length 10
Besides setting a minimum length, list other ways to strengthen passwords.
____________________________________________________________________________________
f.
g. Assign ciscoconpass as the console password, establish a timeout, enable login, and add the logging
synchronous command. The logging synchronous command synchronizes debug and Cisco IOS
software output and prevents these messages from interrupting your keyboard input.
R1(config)# line
R1(config-line)#
R1(config-line)#
R1(config-line)#
R1(config-line)#
R1(config-line)#
R1(config)#
con 0
password ciscoconpass
exec-timeout 5 0
login
logging synchronous
exit
h. Assign ciscovtypass as the vty password, establish a timeout, enable login, and add the logging
synchronous command.
R1(config)# line
R1(config-line)#
R1(config-line)#
R1(config-line)#
R1(config-line)#
R1(config-line)#
R1(config)#
i.
vty 0 4
password ciscovtypass
exec-timeout 5 0
login
logging synchronous
exit
j.
Create a banner that warns anyone accessing the device that unauthorized access is prohibited.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 3 of 19
Configure an IP address and interface description. Activate both interfaces on the router.
R1(config)# int g0/0
R1(config-if)# description Connection
R1(config-if)# ip address 192.168.0.1
R1(config-if)# no shutdown
R1(config-if)# int g0/1
R1(config-if)# description Connection
R1(config-if)# ip address 192.168.1.1
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)# exit
R1#
l.
to PC-B
255.255.255.0
to S1
255.255.255.0
R1#
What would be the result of reloading the router prior to completing the copy running-config startupconfig command?
____________________________________________________________________________________
____________________________________________________________________________________
b. Remotely access R1 from PC-A using the Tera Term Telnet client.
Open Tera Term and enter the G0/1 interface IP address of R1 in the Host: field of the Tera Term: New
Connection window. Ensure that the Telnet radio button is selected and then click OK to connect to the
router.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 4 of 19
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 5 of 19
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 6 of 19
What code is used in the routing table to indicate a directly connected network?
How many route entries are coded with a C code in the routing table?
What command changed the status of the Gigabit Ethernet ports from administratively down to up?
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 7 of 19
c.
Provide a screenshot of the ipconfig command on PC-B to examine the IPv6 configuration.
Provide a screenshot of a ping from PC-B to the R1 IPv6 unicast address 2001:db8:acad:a::1.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 8 of 19
Step 2: Enable HTTP authentication to use the local database on the router.
R1(config)# ip http authentication local
c.
When CCP starts, the Select / Mange Community dialog box displays. Enter the IP address for R1 G0/1,
and the username admin and password adminpass1 that you added to the local database during the
router configuration in Part 2. Click OK.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 9 of 19
If you have configured the router correctly, the Discovery Status changes from Not discovered to
Discovered, and R1 appears in the Router Hostname column.
Note: If there is a problem with your configuration, you will see a Discovery failed status. Click
Discovery Details to determine why the discovery process failed and then troubleshoot the problem.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 10 of 19
b. In the left navigation pane, click Router > Overview to display the Monitor Overview screen in the right
content pane.
c.
Use the up and down arrows to the right of the interface list to scroll through the list of interfaces for the
router.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 11 of 19
b. In the Date and Time Properties window, edit the Date, Time, and Time Zone. Click Apply.
c.
In the Routers clock configured window, click OK. In the Date and Time Properties window, click Close.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 12 of 19
b. Enter ccpadmin in the Username: field. Enter ciscoccppass in the New Password: and Confirm New
Password: fields. Select 15 in the Privilege Level: drop-down list. Click OK to add this user to the local
database.
c.
In the Deliver Configuration to Device window, click the Save running config to devices startup config
check box, and then click Deliver.
d. Review the information in the Commands Delivery Status window, and click OK. The new user account
should now appear in the content pane on the right.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 13 of 19
b. In the Edit VTY Lines window, change the Time out: field to 15 minutes. Click the Input Protocol > Telnet
check box. Review the other options available. Also select the SSH checkbox. Then click OK.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 14 of 19
Review the commands that will be delivered to the running configuration on the Deliver Configuration to
Device screen and click Deliver. In the Commands Delivery Status window, click OK. The content pane
on the right should reflect the changes to the EXEC timeout value.
b. The content pane displays a confirmation screen. Click Confirm. An Information window displays, letting
you know that the configuration was saved successfully. Click OK.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 15 of 19
Step 3: Use the View utility to show the running configuration for the router.
a. In the Utilities pane, click View > IOS Show Commands to display the IOS Show Commands screen in
the content pane.
b. Select show run from the drop-down list and click Show. The routers running configuration is displayed
in the content pane.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 16 of 19
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 17 of 19
c.
Issue the reload command to remove an old configuration from memory. When prompted to Proceed
with reload, press Enter to confirm the reload. (Pressing any other key aborts the reload.)
Router# reload
Proceed with reload? [confirm]
*Nov 29 18:28:09.923: %SYS-5-RELOAD: Reload requested by console. Reload Reason:
Reload Command.
Note: You may be prompted to save the running configuration prior to reloading the router. Type no and
press Enter.
System configuration has been modified. Save? [yes/no]: no
d. After the router reloads, you are prompted to enter the initial configuration dialog. Enter no and press
Enter.
Would you like to enter the initial configuration dialog? [yes/no]: no
e. You are prompted to terminate autoinstall. Type yes and then press Enter.
Would you like to terminate autoinstall? [yes]: yes
-rwx
-rwx
-rwx
-rwx
-rwx
1919
1632
13336
11607161
616
Mar
Mar
Mar
Mar
Mar
1
1
1
1
1
1993
1993
1993
1993
1993
00:06:33
00:06:33
00:06:33
02:37:06
00:07:13
+00:00
+00:00
+00:00
+00:00
+00:00
private-config.text
config.text
multiple-fs
c2960-lanbasek9-mz.150-2.SE.bin
vlan.dat
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 18 of 19
If the vlan.dat file was found in flash, then delete this file.
Switch# delete vlan.dat
Delete filename [vlan.dat]?
d. You are prompted to verify the filename. At this point, you can change the filename or just press Enter if
you have entered the name correctly.
e. You are prompted to confirm deleting this file. Press Enter to confirm deletion. (Pressing any other key
aborts the deletion.)
Delete flash:/vlan.dat? [confirm]
Switch#
f.
Use the erase startup-config command to erase the startup configuration file from NVRAM. You are
prompted to confirm removing the configuration file. Press Enter to confirm to erase this file. (Pressing
any other key aborts the operation.)
Switch# erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#
g. Reload the switch to remove any old configuration information from memory. You are prompted to confirm
reloading the switch. Press Enter to proceed with the reload. (Pressing any other key aborts the reload.)
Switch# reload
Proceed with reload? [confirm]
Note: You may be prompted to save the running configuration prior to reloading the switch. Type no and
press Enter.
System configuration has been modified. Save? [yes/no]: no
h. After the switch reloads, you should be prompted to enter the initial configuration dialog. Type no and
press Enter.
Would you like to enter the initial configuration dialog? [yes/no]: no
Switch>
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 19 of 19