You are on page 1of 5

Khawaja Fareed University of Engineering and

Information Technology
Department of Information Technology

COSC-3201-Computer Networks Lab


Lab Instructor: Engr. Saifullah Buriro

Experiment # 2: To understand and perform initial router


configuration using cisco packet tracer.

Student Name: ……………………………………………………………….


Roll No: …………………………………Group:..…………………………..
Date of Experiment: ………………………………………………………..
Report Submitted on: ……………………………………………………..
Marks Obtained: …………………Signature:…………………………
Experiment # 2

Objective: To understand and perform initial configuration of switch, router


and make very simple Wide Area Network (WAN).

Topology Diagram:

Background: In this activity, you will use the Cisco IOS CLI to apply an initial
configuration to a router and other basic settings.

Routers:
A router is a networking device that forwards data packets between computer
networks. Routers perform the traffic directing functions on the Internet. Data sent
through the internet, such as a web page or email, is in the form of data packets. A
packet is typically forwarded from one router to another router through the
networks that constitute an internetwork (e.g. the Internet) until it reaches its
destination node. (WIKIPEDIA).

Cisco IOS CLI:


Most Cisco devices (including routers and switches) use a CLI (Command Line
Interface) to configure the network device. The CLI is an interface, based on text.
You type in configuration commands and use show commands to get the output
from the router or switch. There are also GUIs (Graphical User Interface) for the
routers, switches and firewalls but the majority of the work is done on the CLI.

Routers configuration using CLI (Command Line Interface):


Steps.1
Drag different network device on main window such as:
• Nodes
• Switch
• Media
• Routers
Step.2
Connect device together and make computer network as shown in the network
topology.
Step.3
Click on routers and click on command line interface to configure router.
Example code:

Router(config)#int s0/0/0
Router(config)# int s0/1/0
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to down

Router(config-if)#int g0/0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/0,
changed state to up
exit
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.20.2
Router(config)#exit
Review Questions
What is LAN?
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
What is WAN?
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………….
Why we used serial DTE as a media?
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………….

You might also like