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

LAB # 4 5 6

Ahsan Riaz (140967)

Lab Supervisor

Engr. Aqib Khan

DEPARTMENT OF ELECTRICAL ENGINEERING

FACULTY OF ENGINEERING

AIR UNIVERSITY, ISLAMABAD


ROUTER ADMINISTRATIVE FUNCTIONS

1. Objective
 To get familiarization with Routers

 Create a basic switch configuration and verify it.


 Create two VLANs, name them and assign member ports to them

2. Introduction
Routers are network devices that work on network layer. (layer 3 of OSI model). Routers are
fundamental in networking. In this lab we shall observe steps that are necessary to change
configuration parameters of routers. We shall configure different parameters such as
hostnames, banners, passwords (both secret and normal) of routers. Hostnames are used to
give a specified name to routers. Banners are messages that are displayed to people trying
to connect to a router mostly.

3. Procedure

When you first bring up a Cisco router, it will run a power-on self-test (POST). If it passes, it
will then look for and load the Cisco IOS from flash memory—if an IOS file is present
auxiliary or console port. Passwords are used to restrict someone from opening CLI of
routers…
STEP 1: In this step copy router 1841 on software screen. Then open its CLI (command
line interface) .Now change its hostname by typing the commands shown below.

STEP 2: Now we shall set banner on router. For that purpose enter command shown
below in routers CLI. The message will be shown on startup in CLI.

STEP 3: Now in this step we shall set passwords both login and secret through
commands shown below.

alex (config)#enable password Moiz

alex (config)#enable secret Mo

alex (config)#exit

Here as we have set secret password so it shall override enable password and you will
have to enter secret password on opening CLI.

STEP 4: Now we shall set line console passwords. In this case enter the commands
shown below to set it. You will have to enter this password on startup.
Secret password is not shown in configuration parameters as compared to enable
password.

STEP 5: Now in this step we shall make a network using two pcs and a router. We have
to give default gateways on pc so on pc0 set 192.168.20.1 and on pc1 set 192.158.10.1 .Make
network as shown below.

STEP 6: Now in this step open router and set interfaces so that it can
communicate with pcs. Do note that router has two interfaces.

a
STEP 7: Now in next step send a message from one pc to other to observe working of
router.

aa

4. Learning Outcomes

This lab simply explains the working of Routers. In this lab we were able to set
passwords on routers. We configured their hostnames, set banners. We also set
interfaces on router to enable computers connected through a router to send messages
to one another.

You might also like