0% found this document useful (0 votes)
24 views16 pages

Lab Task C1 - Report - M00648321

Uploaded by

anonno001
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)
24 views16 pages

Lab Task C1 - Report - M00648321

Uploaded by

anonno001
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
You are on page 1/ 16

Abdiqani Mohamed (M00648321)

Laboratory Task C1: Router and Switch Configuration

This lab aims at preparing you for future laboratory work. To be able to configure access
control lists, you need to develop practical skills in router configuration. In laboratory
sessions, you’ll be working with cisco routers. First, you will examine a Cisco router and
then, perform a basic configuration. Try various show commands, interface configuration,
and protocol configuration. Try the configuration using packet tracer first
Abdiqani Mohamed (M00648321)

Lab report
Generally, Cisco devices have three different modes namely User EXEC, Privilleged EXEC
and Global Configuration mode.
User EXEC Mode is the initial mode in which the device loads to. It has some limited
commands that are mostly used for troubleshooting and for statistical purposes. It also an
interface to login into the other modes.
Privilleged EXEC Mode can be logged into from the User EXEC mode with the ‘enable’
command. Privilleged EXEC mode offers more commands compared to the User EXEC
mode and can make limited configurations including device clock setup, save configurations,
reloading device, e.t.c. This mode is always protected by a password.
Global Configuration Mode: Global configuration mode enables administrators to configure
policies that can affect the entire device. From the global configuration, there are many sub-
modes that can be used to configure especific configurations. From privilliged EXEC mode,
Global configuration mode can be accessed with the command “configure terminal”.

Router Configuration

Routers will be configured with basic commands that are common most of the devices. These
credentials include hostname, security configurations, and message of the day banner. We
will also configure remote login settings which will enable the device to be logged in through
the network using the internet. SSH and Telnet are the most common protocols used for
remote login, SSH is secure while Telnet is not.

Adding Modules such as Serial Connector (WIC)


Abdiqani Mohamed (M00648321)

Basic Configurations
In this section, the basic configuration including hostname, security settings and remote
access credentials will be setup.

Router> enable
Router# configure terminal
Router(config)# hostname R1
R1(config)# banner motd $ Authorised access only! $
R1(config)# no ip domain-lookup
R1(config)# enable secret class
R1(config)# line console 0
R1(config)# login
R1(config)# password cisco
R1(config)# exit
R1(config)# line vty 0 4
R1(config)# password cisco
R1(config)# login
R1(config)# exit

The above basic configurations were configured on router 1. The same was also configured
on router 2. The basic commands are common to the networking devices, and for that reason
router 2’s configurations detailed are not written but are being configured.

Interface Configuration

Interfaces connect the device to another neighbouring devices for communication. R1 has
two types of interfaces, Serial which connects the router to another router and Ethernet which
is used to connect the Local Area Network (LAN) devices. In order to configure an interface,
from Global configuration mode, we must enter the sub-interface mode.

Router1
R1(config)# interface FastEthernet 0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
R1(config)# interface serial 0/1/0
R1(config-if)# description Link to R2
R1(config-if)# ip address 192.168.0.1 255.255.255.252
R1(config-if)# clockrate 56000
R1(config-if)# no shutdown
Abdiqani Mohamed (M00648321)

Router2
R2(config)# interface FastEthernet 0/0
R2(config-if)# ip address 192.168.0.2 255.255.255.0
R2(config-if)# no shutdown
R2(config)# interface serial 0/1/0
R2(config-if)# description Link to R1
R2(config-if)# ip address 192.168.2.1 255.255.255.252
R1(config-if)# clockrate 56000
R2(config-if)# no shutdown
Abdiqani Mohamed (M00648321)

Routing Protocol Configuration

Routing Protocols dynamically build routing tables that the networking devices use to
forward packets from one network to another network. Routing tables contain destination IP
address, subnet mask, next-hop router and routing metrics. The next hop is the IP address of
the first network device to the path of the destination while metrics could be the cost or the
administrative distance of the route which is used to determine the path a packet will take to
the destination if there is more than one route to the destination. Generally, the routing
protocols are either Exterior Gateway Protocol (EGP) or Interior Gateway Protocol (IGP). An
example of Exterior Gateway Protocol is Border Gateway Protocol (BGP) used in Wide Area
Networks (WAN) that is used to connect global-wide network or different Autonomous
Systems that are under the control of different administrations. IGP are used within the
devices that are under one administration or organisations. EIGRP, OSPF and RIP are
examples of routing protocols used to within organisational networks.

In this section we will configure Routing Information Protocol (RIP) version 2. Once
configured, it will automatically create routing tables that enables the networks on either side
of R1 and R2.

Router1
R1(config)# router rip
R1(config-router)# version 2
R1(config-router)# network 192.168.0.0
R1(config-router)# network 192.168.1.0

Router2
R2(config)# router rip
R2(config-router)# version 2
R2(config-router)# network 192.168.0.0
R2(config-router)# network 192.168.2.0
Abdiqani Mohamed (M00648321)

End Device Configurations (PCs)

The end devices need to have the correct IP address details including device IP, default
Gateway IP and Subnet Mask. Each PC must have unique IP address in the network. Default
gateway enables to direct the traffic destined outside the network while Subnet Mask
identifies the network in which that particular device is part of.
Abdiqani Mohamed (M00648321)

Testing Connectivity
In this section, we will test the network connectivity using different utility tools including
ping, tracert and telnet. Ping utility uses Internet Control Message Protocol (ICMP) that is
very frequently used to determine network connectivity. This is useful for determining if the
network is properly connected and for the status of the network connection.

Pings on PC2 and PC3 were successful


The two screenshots below also show the pinging to PC1 being successful and a traceroute
result (tracert) to PC1 from PC2. Traceroute shows the number of hops (intermediary
devices) to the destination. From PC2, the packet was sent to the default-gateway to forward
since PC1 is not in the same network as PC2. The default-gateway transferred it to the next
hop, which is R1 interface and then R1 delivered the packet to the intended destination, PC1.

Pings to PC1 on the left, tracert output from PC2 to PC1 on the right.

Telneting R1 from PC3


Abdiqani Mohamed (M00648321)

Show interfaces, show ip route, show ip protocols, show line, show running config.

Show interfaces

Show ip route (R1)


Abdiqani Mohamed (M00648321)

Show ip route (R2)

show ip protocols (R1)


Abdiqani Mohamed (M00648321)

show ip protocols (R2)

show line (R1)


Abdiqani Mohamed (M00648321)

show line (R2)


Abdiqani Mohamed (M00648321)

show running config (R1)


Abdiqani Mohamed (M00648321)
Abdiqani Mohamed (M00648321)

show running config (R2)


Abdiqani Mohamed (M00648321)
Abdiqani Mohamed (M00648321)

References
Dr. xiaochun Cheng, “Laboratory Task C1: Router and Switch Configuration”
Middlesex University, UK, 2018.

Cloud Direct, “Using Traceroute, Ping, MTR, and PathPing”, Available at:
https://www.clouddirect.net/knowledge-base/KB0011455/using-traceroute-ping-mtr-and-
pathping ,
[Accessed: 01/01/2019].

Study CCNA “IOS command modes”, Available at: https://study-ccna.com/ios-


command-modes/, [Accessed: 15/01/2019].

You might also like