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

DEPARTMENT OF TELECOMMUNICATION ENGINEERING

MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO


COMPUTER COMMUNICATION & NETWORKING
(6th Term, 3rd Year) LAB EXPERIMENT # 8A/1

Name: __________Shayan Fatima____________________ Roll No: ___18TL06______

Score: ____________Signature of the Lab Tutor: _______________ Date: ___________

LOGGING INTO ROUTER AND BECOMING FAMILIAR WITH ROUTER


INTERFACES, HOSTNAME, SETTING PASSWORDS, SAVING CONFIGURATION

PERFORMANCE OBJECTIVE:

Upon successful completion this experiment, the student will be able to learn:

1- Logging into a router


2- Setting the hostname
3- Configuring passwords
4- To save configuration file of router

Logging into a router:

Command: show running-config:


DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(6th Term, 3rd Year) LAB EXPERIMENT # 8A/2

Command: show history:

Command: disable:

Setting the hostname:

Setting/Configuring Passwords:

There are four types of passwords which can be configured on a Router. This section describes
the 4 main passwords which are directly related to managing and configuring router.

Console password:

Telnet password:

Enable password and enable secret

Router(config)#enable password cisco:


DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(6th Term, 3rd Year) LAB EXPERIMENT # 8A/3

Router(config)#enable secret cisco1

TO save configuration file of router

Router#copy running-config startup-config

Router#copy startup-config running-config

Router#erase startup-config

REVIEW QUESTIONS:

Question: 01. What is the output of show startup-config command?


Answer: The show running-config command shows the router, switch, or firewall's current
configuration. The running-configuration is the config that is in the router's memory. You change
this config when you make changes to the router. Keep in mind that config is not saved until you
do a copy running-configuration startup-configuration.

Question: 02. Why we give login command when configuring console and vty line interface?
Answer: The login command is required because it makes it so the user will be prompted with a
login request. without it, the user won't be able to access the router

Question: 03. Describe the purpose of console and vty line interfaces?

• Console0 is the physical console port on the switch/router you plug into.

• line vty is the physical console port on the switch router you plug into
DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(6th Term, 3rd Year) LAB EXPERIMENT # 8A/4

Question: 04. What is basic function of a router?

To Make Segment: Routers play the major role to segment the internet network form internal
network in the residencies area or business. Routers moves to all packets from internal network to
the Internet

To Assign IP Address: IP (Internet Protocol) is very necessary element for every computer
system because the IP address means that which address that is assigned to the computer over the
network. With the help of IP, all communication packets are sending and received over the
network.

To Share Resources: Routers also help to many users for sharing resources like as faxes,
scanners, printers, and file folders on the drives which are located on remotely.

Question: 05. Why there is a need of saving the running configuration into the NVRAM?
Answer: So, that you do not lose your previous configuration.

Question: 06. Why a secret password is more secure than simple enable password?
Answer: Because the decrypted for secret password is not available yet so it is the best security
available.

Question: 07. Why we need routers to build networks?


Answer: A router helps you connect multiple devices to the Internet and connect the devices to
each other. Also, you can use routers to create local networks of devices. These local networks
are useful if you want to share files among devices or allow employees to share software tools.
DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(6th Term, 3rd Year) LAB EXPERIMENT # 8A/5

Lab Exercise:

Submit a lab with performing a simple task connect a pc with router using console connection and
configure router with all basic configuration we learned in this Lab.

Topology:

Hostname:

Console Password:

Telnet Password:

Enable and Secret Password:

Save Configuration:

You might also like