1 Basic Configuration and Set-Up of Routers and Switches
1 Basic Configuration and Set-Up of Routers and Switches
I. Objectives
To be able to familiarize the students in the use of network simulators like Cisco Packet Tracer and
explore the significance of each CLI modes.
To be able to familiarize the students in basic configuration and set-up of routers and switches.
Packet Tracer is a simulation tool designed by Cisco Systems. It allows users to create network
topologies to simulate the configuration of routers and switches using a command line interface. Throughout
the lab modules you will be configuring different commands that require changing from one mode to
another.
The basic CLI modes that we will be referring below are as following:
1. Cisco> User EXEC Mode
2. Cisco# Privileged EXEC mode
3. Cisco (config)# Global configuration Mode
4. Cisco (config-if)# Interface configuration Mode
5. Cisco (config-line)# Line configuration Mode
1
CONFIGURING YOUR ROUTER
In Global Configuration Mode you configure parameters that affect the whole router device. Here
we will configure the enable secret password that you will be using from now on to enter into
Privileged EXEC Mode from User EXEC Mode.
From now on, when you log in from user EXEC mode you will be asked for a password.
2
Step 4: Set up a Hostname to distinguish the router in the network.
To differentiate your Router from other devices in the network, you should configure a hostname
to your router.
Notice that your Router prompt changes to the new hostname that you have just set.
My-Router(config)# exit
My-Router# copy running-config startup-config
Step 7: Verifications
Use show commands to verify status, setting and configurations. Use the IOS help (?)
You can display your current configuration to verify your settings as following:
My-Router# show ?
3
CONFIGURING YOUR SWITCH
Switch> enable
Switch# configure terminal
Switch (config)# enable secret cisco123
4
Step 6. Assign default gateway to the switch
Router 1
Router 2
Serial 0: Serial 0
10.0.xx.1/24 10.0.xx.2/24
Fa 0/0 Fa 0/1
192.168.xx.1/24 192.168.yy.1/24
Switch 1
Switch 2
Host D
Host A 192.168.yy.6/24
192.168.xx.3/24 Host C
Host B 192.168.yy.4/24
192.168.xx.10/24
Task 1
Set-up the above network topology and save it as Lab1 Basic Configurations Pair xx Block y. (Example
Lab 1 Basic Configuration Pair 01 Block 1)
Task 2.
Configure the routers and switches with details provided on the above topology.
Named the routers as:
Router 1 Router_1
Router 2 Router_2
5
Task 3.
Step 1: Perform basic connectivity test from hosts to the routers.
a. Is ping successful from
Host A to Host B? ______
Host A to Router 1? _____
Host A to Router 2’s serial 0? _____
Router 1 to Router 2?______
Host A to Host C? ______
Host C to Host D? ______
b. Perform a trace from Host A to Host D, what is your observation on the result? Use the tracert
command.
Step 2: Telnet either from Host A to Router 1 or Host C to Router 2. What is your observation on the
result? Use the telnet command.
Task 4.
Using show commands, verify the following;
1. show version
IOS version of Router 1: _________
IOS image of Router 1: __________
uptime of Switch 2 : ____________
RAM of Router 2: ______________
Configuration Register of Router 2: ____________
6
4. show cdp neighbor
Describe the output in Router 1
5. show run
Describe the output in Router 2
IV. Conclusion