0% found this document useful (0 votes)
15 views8 pages

Cisco Router CLI and Static Routing Lab

Uploaded by

kesharijigyashu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views8 pages

Cisco Router CLI and Static Routing Lab

Uploaded by

kesharijigyashu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Module 2 Lab Guide

Cisco Router Interface and Static Routing Configuration Lab

Prerequisite

This lab exercise has no prerequisites.

Lab Objective:

This lab focuses on practical exposure to the Command Line Interface (CLI), allowing participants to
learn how to use CLI commands effectively. The lab's main objectives include:

1. Providing participants with hands-on experience using Command Line Interface (CLI)
commands effectively.
2. Configuring devices with TCP/IP settings, including IP addresses and subnet masks.
3. Setting up static routing on routers to establish network connectivity.
4. Observing and understanding routing tables to ensure proper data routing.
5. Utilizing commands like ping and traceroute to verify device connectivity.

Topology

The lab is prepared with the devices that are represented in the topology diagram, with the IPv4
addresses depicted in the table.
Device Information

In this activity, the lab devices have undergone initial configuration, and the upcoming steps involve
utilizing Cisco IOS commands to further configure these devices. The configuration process will
involve referencing the information provided in the table below.

Device Characteristic Value


SW1 VLAN 1 IPv4 address [Link]/24
SW1 Default gateway [Link]
SW2 VLAN 1 IPv4 address [Link]/24
SW2 Default gateway [Link]
R1 GigabitEthemet0/0/0 IPv4 address [Link]/24
R1 Serial0/1/0 IPv4 address [Link]/24
R2 GigabitEthemet0/0/0 IPv4 address [Link]/24
R2 Serial0/1/0 IPv4 address [Link]/24

Step 1: Launch Cisco packet tracer

To launch Cisco Packet Tracer on the desktop, follow the following steps:

a) Click “OK” on the dialog box that pops and on any other dialog boxes appear during the
startup process until Cisco Packet Tracer has fully loaded.
b) Once Cisco Packet Tracer is running, proceed to open "Module 2 [Link]," by following these
steps:
a. Click on the "File" menu in the Packet Tracer application.
b. Select the "Open" option from the menu.
c) In the file selection dialog box, navigate to coursera directory by following this path:

"/home/coder/coursera"

d) Locate and select the "Module 2 [Link]" file, and then click the "Open" button to load the
lab file into Cisco Packet Tracer.

Step 2. Configure SW1

Click on SW1 to select it. Then, click on the "CLI" (Command Line Interface) tab at the menu bar of
the window to open the CLI console for the switch.

In the CLI console, configure the IP address for VLAN 1 and set the default gateway using the
following commands:

Save the configuration using the following command and close configuration window:
Step 3. Configure SW2

Click on SW2 to select it. Then, click on the "CLI" (Command Line Interface) tab at the bottom of the
window to open the CLI console for the switch.

In the CLI console, configure the IP address for VLAN 1 and set the default gateway using the
following commands:

Save the configuration using the following command and close configuration window:

Step 4. Configure R1

Click on R1 to select it. Then, click on the "CLI" (Command Line Interface) tab at the top of the
window to open the CLI console for the switch.

In the CLI console, configure the IP address for interfaces GigabitEthernet0/0/0 and Serial0/1/0 and
save the configurations using the following commands:
Step 5. Configure R2

Click on R2 to select it. Then, click on the "CLI" (Command Line Interface) tab at the top of the
window to open the CLI console for the switch.

In the CLI console, configure the IP address for interfaces GigabitEthernet0/0/0 and Serial0/1/0 and
save the configurations using the following commands:

Step 6. Test Connectivity

Ping from the command prompt of SW1 to SW2 to verify connectivity.

Example command from SW1:


ping [Link]

Ping command failed to produce successful results, this indicates that there might be connectivity
issues between the source and destination devices. Configuring routing between routers R1 and R2
will address this problem.

Configure static routes on R1 and R2 to reach each other's LAN subnets.

R1 routing configuration command:

R2 routing configuration command:

Step 7. Testing connectivity and displaying routing table

On SW1, access the CLI and use the ping command to test connectivity to SW2 ([Link]):

Use the traceroute command on SW1 to trace the route to SW2: This tests connectivity between the
subnets.
On R1, use the show ip route command to verify the routing table entries: This shows the path the
packets take through the network.

On R2, use the show ip route command to verify the routing table entries:
Lab Conclusion:

This lab exercise provided a practical introduction to Command Line Interface (CLI) commands in
Cisco Packet Tracer. Participants configured device interfaces with IP addresses, subnet masks, and
default gateways, utilizing commands for setup and verification. The key accomplishment included:

● Launching Cisco Packet Tracer and loading the lab file.


● Configuring SW1 and SW2 with IP addresses and default gateways.
● Configuring R1 and R2 interfaces with IP addresses.
● Testing connectivity between SW1 and SW2, which initially failed.
● Addressing connectivity issues by configuring static routes on R1 and R2.
● Testing connectivity using ping and traceroute commands.
● Verifying routing tables on R1 and R2.

You might also like