1.6.2 Lab - Configure Basic Router Settings
1.6.2 Lab - Configure Basic Router Settings
Topology
Addressing Table
Device Interface IP Address / Prefix Default Gateway
R1 G0/0/0
2001:db8:acad::1 /64 N/A
R1 G0/0/0
fe80::1 N/A
R1
G0/0/1 192.168.1.1 /24 N/A
R1 G0/0/1
2001:db8:acad:1::1 /64 N/A
R1 G0/0/1
fe80::1 N/A
R1
Loopback0 10.0.0.1 /24 N/A
R1 Loopback0
2001:db8:acad:2::1 /64 N/A
R1 Loopback0
fe80::1 N/A
PC-A NIC
2001:db8:acad:1::10 /64 fe80::1
PC-B NIC 192.168.0.10 /24 192.168.0.1
PC-B NIC
2001:db8:acad::10 /64 fe80::1
Objectives
Part 1: Set Up the Topology and Initialize Devices
Cable equipment to match the network topology.
Initialize and restart the router and switch.
Part 2: Configure Devices and Verify Connectivity
Assign static IPv4 and IPv6 information to the PC interfaces.
Configure basic router settings.
Configure the router for SSH.
Verify network connectivity.
Part 3: Display Router Information
Retrieve hardware and software information from the router.
Interpret the output from the startup configuration.
Interpret the output from the routing table.
Verify the status of the interfaces.
Background / Scenario
1.6.2 Lab – Configure Basic Router Settings
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 interface settings on the
router.
In Part 3, you will use SSH to connect to the router remotely and utilize the IOS commands to
retrieve information from the device to answer questions about the router.
For review purposes, this lab provides the commands necessary for specific router configurations.
Note: The routers used with CCNA hands-on labs are Cisco 4221 with Cisco IOS XE
Release 16.9.4 (universalk9 image). The switches used in the labs are Cisco Catalyst
2960s with Cisco IOS Release 15.2(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 the output produced might vary from what is shown in the labs. Refer to the Router Interface
Summary Table at the end of the lab for the correct interface identifiers.
Note: Make sure that the router and switch have been erased and have no startup
configurations. Consult with your Answers for the procedure to initialize and reload a router
and switch.
Required Resources
1 Router (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or
comparable)
1 Switch (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
2 PCs (Windows with a terminal emulation program, such as Tera Term)
Console cables to configure the Cisco IOS devices via the console ports
Ethernet cables as shown in the topology
Note: The Gigabit Ethernet interfaces on Cisco 4221 routers are autosensing and an Ethernet
straight-through cable may be used between the router and PC-B. If using another model Cisco
router, it may be necessary to use an Ethernet crossover cable.
Instructions
1. Configure the IP address, subnet mask, and default gateway settings on PC-A.
2. Configure the IP address, subnet mask, and default gateway settings on PC-B.
What would be the result of reloading the router prior to completing the copy running-config
startup-config command?
The contents of the running configuration in RAM would be erased during reload. As a
result, the router would boot up without a startup configuration and the user would be
asked if they would like to enter initial configuration dialog.
Close configuration window
1. Using the command line at PC-A, ping the IPv4 and IPv6 addresses for PC-B.
Note: It may be necessary to disable the PCs firewall.
Question:
2. Remotely access R1 from PC-A using the Tera Term SSH client.
Using Tera Term on PC-A, open an SSH session to the R1 Loopback interface IPv4 address.
Ensure that the SSH radio button is selected and then click OK to connect to the router. Log
in as SSHadmin with the password 55Hadm!n2020.
Question:
R1 uptime is 32 minutes
Uptime for this control processor is 35 minutes
System returned to ROM by PowerOn
System restarted at 14:49:40 UTC Thu Sep 5 2019
System image file is “flash:isr4200-universalk9_ias.16.09.04.SPA.bin“
Last reload reason: PowerOn
What is the name of the IOS image that the router is running?
Image version may vary but in this lab, it is isr4200-universalk9_ias.16.09.04.SPA.bin.
How much non-volatile random-access memory (NVRAM) does the router have?
Answers may vary, but in this lab, it is 32768K bytes of NVRAM.
How much Flash memory does the router have?
Answers may vary but in this lab, it has 6598655K bytes of flash memory.
1.6.2 Lab – Configure Basic Router Settings
2. The show commands often provide multiple screens of outputs. Filtering the output
allows a user to display certain sections of the output. To enable the filtering
command, enter a pipe (|) character after a show command, followed by a filtering
parameter and a filtering expression. You can match the output to the filtering
statement by using the include keyword to display all lines from the output that
contain the filtering expression. Filter the show version command, using show
version | include register to answer the following question.
R1# show version | include register
Configuration register is 0x2142 (will be 0x2102 at next reload)
What is the boot process for the router on the next reload?
Answers may vary. In most cases (0x2102), the router will undergo a normal boot, load
the IOS from the Flash memory, and load the startup configuration from the NVRAM if
present. If the config register is 0x2142, the router will bypass the startup config and
begin at the user-mode command prompt. If the initial boot fails, the router goes into
ROMMON mode.
What code is used in the routing table to indicate a directly connected network?
The C designates a directly connected subnet. An L designates a local interface. Both
answers are correct.
How many route entries are coded with a C code in the routing table?
1.6.2 Lab – Configure Basic Router Settings
3
What command changed the status of the Gigabit Ethernet ports from administratively down
to up?
no shutdown
2. Use the show ipv6 int brief command to verify IPv6 settings on R1.
R1# show ipv6 interface brief
GigabitEthernet0/0/0 [up/up]
FE80::1
2001:DB8:ACAD::1
GigabitEthernet0/0/1 [up/up]
FE80::1
2001:DB8:ACAD:1::1
Serial0/1/0 [up/up]
unassigned
Serial0/1/1 [up/up]
unassigned
Loopback0 [up/up]
FE80::1
2001:DB8:ACAD:2::1
Question:
Reflection Questions
1.6.2 Lab – Configure Basic Router Settings
1. In researching a network connectivity issue, a technician suspects that an interface was
not enabled. What show command could the technician use to troubleshoot this issue?
Answers may vary. However, show ip interface brief or show interfaces or show startup-
config would provide the information.
2. In researching a network connectivity issue, a technician suspects that an interface was
assigned an incorrect subnet mask. What show command could the technician use to
troubleshoot this issue?
Answers may vary. show startup-config or show running-config or show interfaces or
show protocols will provide the information.
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.
End of document
Device Configs
Router R1
R1# show run
Building configuration…
version 16.9
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
platform qfp utilization monitor load 80
no platform punt-keepalive disable-kernel-core
!
hostname R1
!
1.6.2 Lab – Configure Basic Router Settings
boot-start-marker
boot-end-marker
!
!
security passwords min-length 12
enable secret 5 $1$b2iA$/7Hj3HRmBXTbOESxm1yiG0
!
no aaa new-model
!
no ip domain lookup
ip domain name ccna-lab.com
!
!
login block-for 120 attempts 3 within 60
login on-success log
!
!
subscriber templating
!
!
ipv6 unicast-routing
multilink bundle-name authenticated
!
no license smart enable
diagnostic bootup level minimal
!
spanning-tree extend system-id
!
!
username SSHadmin secret 5 $1$6HtR$T0QPZWbzp6bz3g6iwmZrP1
!
redundancy
mode none
!
interface Loopback0
description loopback adapter
ip address 10.0.0.1 255.255.255.0
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:ACAD:2::1/64
!
interface GigabitEthernet0/0/0
description Connection to PC-B
ip address 192.168.0.1 255.255.255.0
negotiation auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:ACAD::1/64
!
interface GigabitEthernet0/0/1
description Connection to S1
ip address 192.168.1.1 255.255.255.0
negotiation auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:ACAD:1::1/64
!
interface Serial0/1/0
no ip address
!
interface Serial0/1/1
no ip address
!
1.6.2 Lab – Configure Basic Router Settings
ip forward-protocol nd
no ip http server
ip http secure-server
!
control-plane
!
banner motd ^C Authorized Users Only! ^C
!
line con 0
exec-timeout 4 0
password 7 145311021F07256A650B1C1B68
logging synchronous
login
transport input none
stopbits 1
line aux 0
stopbits 1
line vty 0 4
exec-timeout 4 0
password 7 15560805172924656905011B59
login local
transport input ssh
!
end