Lab - Configuring Basic Router Settings With IOS CLI: Topology

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Lab – Configuring Basic Router Settings with IOS CLI

Topology

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway

R1 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
 Cable equipment to match the network topology.
 Initialize and restart the router and switch.
Part 2: Configure Devices and Verify Connectivity
 Assign static IPv4 information to the PC interfaces.
 Configure basic router settings.
 Verify network connectivity.

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.

© 2018 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 4
Lab – Configuring Basic Router Settings with IOS CLI

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
 Ethernet cables as shown in the topology
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.

Part 1: Set Up the Topology and Initialize Devices


Step 1: Cable the network as shown in the topology.
a. Attach the devices as shown in the topology diagram, and cable as necessary.
b. Power on all the devices in the topology.

Step 2: Initialize and reload the router and switch.


Note: Appendix A details the steps to initialize and reload the devices.

Part 2: Configure Devices and Verify Connectivity


Step 1: Configure the PC interfaces.
a. Configure the IP address, subnet mask, and default gateway settings on PC-A.
b. Configure the IP address, subnet mask, and default gateway settings on PC-B.

Step 2: Configure the router.


a. Console into the router and enable privileged EXEC mode.
Router> enable
Router#
b. Enter into global configuration mode.
Router# config terminal
Router(config)#
c. Assign a device name to the router.
Router(config)# hostname R1
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.
____________________________________________________________________________________

© 2018 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 4
Lab – Configuring Basic Router Settings with IOS CLI

f. Assign cisco12345 as the privileged EXEC encrypted password.


R1(config)# enable secret cisco12345
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 con 0
R1(config-line)# password ciscoconpass
R1(config-line)# exec-timeout 5 0
R1(config-line)# login
R1(config-line)# logging synchronous
R1(config-line)# exit
R1(config)#
For the exec-timeout command, what do the 5 and 0 represent?
____________________________________________________________________________________
h. Assign ciscovtypass as the vty password, establish a timeout, enable login, and add the logging
synchronous command.
R1(config)# line vty 0 4
R1(config-line)# password ciscovtypass
R1(config-line)# exec-timeout 5 0
R1(config-line)# transport input telnet
R1(config-line)# login
R1(config-line)# logging synchronous
R1(config-line)# exit
R1(config)#
i. Encrypt the clear text passwords.
R1(config)# service password-encryption
j. Create a banner that warns anyone accessing the device that unauthorized access is prohibited.
R1(config)# banner motd #Unauthorized access prohibited!#
k. Configure an IP address and interface description. Activate both interfaces on the router.
R1(config)# int g0/0
R1(config-if)# description Connection to PC-B
R1(config-if)# ip address 192.168.0.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# int g0/1
R1(config-if)# description Connection to S1
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)# exit
R1#
l. Set the clock on the router; for example:
R1# clock set 17:00:00 18 Feb 2013

© 2018 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 4
Lab – Configuring Basic Router Settings with IOS CLI

m. Save the running configuration to the startup configuration file.


R1# copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
R1#
What would be the result of reloading the router prior to completing the copy running-config startup-
config command?
____________________________________________________________________________________
____________________________________________________________________________________

Step 3: Verify network connectivity.


a. Ping PC-B from a command prompt on PC-A.
Note: It may be necessary to disable the PCs firewall.
Were the pings successful? __________
After completing this series of commands, what type of remote access could be used to access R1?
____________________________________________________________________________________

© 2018 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 4

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy