Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Le Quang Vu - SE160967 - Lab 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Lab 1 - Configure Basic Router Settings

Topology

Addressing Table
Device Interface IP Address / Prefix Default Gateway

R1 G0/0/0 172.16.0.1 /24 N/A

R1
G0/0/1 172.16.1.1 /24 N/A

R1
Loopback0 10.10.10.1 /24 N/A

PC-A NIC 172.16.1.10 /24 172.16.1.1


PC-B NIC 172.16.0.10 /24 172.16.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 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.

 Retrieve running configuration information from the router.

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 interface settings on the router.

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

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.

Required Resources (Packet Tracer)


 1 Router (Cisco 4321)
 1 Switch (Cisco 2911)
 2 PCs
 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 many Cisco 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.

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

Course: NWC303
Semester: SU24
Class: IA1703
Name: Lê Quang Vũ
ID: SE160967

Instructions
 provide command / capture / answer for every steps accordingly.
 submit your (answer) document starting from this page.

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.

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

Step 2: Initialize and reload the router and switch.

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.

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

Step 2: Configure the router.


Open configuration window

a. Console into the router and enable privileged EXEC mode.

router> enable
b. Enter configuration mode.

router# config terminal


c. Assign a device name R1 to the router.

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

router(config)# hostname R1
d. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered commands as
though they were host names.

R1(config)# no ip domain lookup


e. Encrypt the plaintext passwords.

R1(config)# service password-encryption


f. Configure the system to require a minimum 10-characters password.

R1(config)# security password min-length 10


g. Configure the username sshadmin with an encrypted password of ssh!admin

R1(config)# username sshadmin secret vulqse160967


h. Generate a set of crypto keys with a 1024 bit modulus

R1(config)# crypto key generate rsa


1024
i. Assign the privileged EXEC password to cisco!priv

R1(config)# enable secret cisco!priv


j. Assign cisco!con as the console password, configure sessions to disconnect after four minutes of
inactivity, and enable login.

k. Assign cisco!vty as the vty password, configure the vty lines to accept SSH connections only, configure
sessions to disconnect after four minutes of inactivity, and enable login using the local database.

Create a banner that shows “Welcome to NWC303 – SU24”

l. Configure all three interfaces on the router with the IPv4 addressing information from the addressing table
above. Configure all three interfaces with descriptions. Activate all three interfaces.

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

m. The router should not allow vty logins for two minutes if three failed login attempts occur within 60
seconds.

n. Set the clock on the router.

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

Question:

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.
Step 3: Verify network connectivity.
a. Using the command line at PC-A, ping the IPv4 address for PC-B.

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

b. Remotely access R1 from PC-A using the Tera Term SSH client.
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
input above.

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

Question:

Can you log in successfully?

Yes
Part 3: Display Router Information
In Part 3, you will use show commands from an SSH session to retrieve information from the router.

Step 1: Establish an SSH session to R1.


On PC-B, open an SSH session to the R1 Loopback interface IPv6 address and log in as sshadmin.

Step 2: Retrieve important hardware and software information.


a. Use the show version command to answer questions about the router.

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

Questions:

What is the name of the IOS image that the router is running?

How much non-volatile random-access memory (NVRAM) does the router have?

How much Flash memory does the router have?

b. 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.
What is the boot process for the router on the next reload?

Step 3: Display the startup configuration.


Use the show startup-config command on the router to answer the following questions.
How are passwords presented in the output?

Use the show startup-config | section vty command.


What is the result of using this command?

A user receives the startup configuration output beginning with the line that
includes the first instance of the filtering expression.

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

Step 4: Display the routing table on the router.


Use the show ip route command on the router to answer the following questions.
Questions:

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?

Step 5: Display a summary list of the interfaces on the router.


a. Use the show ip interface brief command on the router to answer the following question.
Question:

What command changed the status of the Gigabit Ethernet ports from administratively down to up?
no shutdown

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 11 of 12 www.netacad.com
Lab 1 - Configure Basic Router Settings

b. Issue the ipconfig command on PC-B to examine the IPv4 configuration.


Questions:

What is the IPv4 address assigned to PC-B?

What type is it, if any?

Issue a ping from PC-B to the R1 default gateway link local address, if any.

Step 6: Display the running configuration of the router.


(provide the text, not screenshot!)

 2013 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 12 of 12 www.netacad.com

You might also like