




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for a lab exercise on basic switch configuration using a Cisco Switch and Cisco IOS. It covers the loading process of Cisco IOS, the required resources, and the steps to configure the switch, including setting passwords, configuring layer 3 access, and saving the configuration. The document also includes questions for self-assessment.
Typology: Lecture notes
1 / 8
This page cannot be seen from the preview
Don't miss anything!





1. Objective This lab exercise is designed for understanding and using basic configuration commands on a Cisco Switch interacting through Cisco IOS. 2. Resources Required - Computer - Packet Tracer (version 5 or higher) 3. Introduction This lab introduces Cisco IOS (Internetwork Operating System) which is the proprietary CLI (command line interface) based software empowering nearly all the Cisco devices. IOS is a package of routing, switching, internetworking and telecommunications functions tightly integrated with a multitasking operating system.
The loading process in Cisco IOS is as follows: a) Bootstrap is loaded from ROM which starts up POST (Power On Self Test). b) Valid image file is searched from flash memory, if found is loaded into the RAM, otherwise ROMMON is loaded from ROM. c) Valid startup-config is searched from NV-RAM, if found is loaded into the RAM as running-config, otherwise the device just starts without any previous configurations.
From this we conclude that Cisco devices have 4 types of memories present: a) ROM b) Flash c) NV-RAM d) RAM
4. Procedure 1. Open Packet Tracer 5 and setup a network similar to the following network. Use Cisco 2950T switch.
b. Notice the prompt changed in the configuration to reflect its new name. Type exit or press Ctrl- Z to go back into privileged mode.
a. Examine the current configuration that follows to verify that there is no configuration except for the hostname: ALSwitch# show running-config
b. Are there any passwords set on the lines? _______________________________________
c. What does the configuration show as the hostname of this switch? ______________________
Enter config-line mode for the console. Set the password on this line as cisco for login. Configure the vty lines 0 to 15 with the password cisco as follows:
ALSwitch# configure terminal Enter the configuration commands, one for each line. End by pressing Ctrl-Z. ALSwitch(config)# line con 0 ALSwitch(config-line)# password cisco ALSwitch(config-line)# login ALSwitch(config-line)# line vty 0 15 ALSwitch(config-line)# password cisco ALSwitch(config-line)# login ALSwitch(config-line)# exit
a. Set the enable password to cisco and the enable secret password to class as follows: ALSwitch(config)# enable password cisco ALSwitch(config)# enable secret class
b. Which password takes precedence, the enable password or enable secret password?
a. Set the IP address of the switch to 192.168.1.2 with a subnet mask of 255.255.255.0 as follows: Note: This is done on the internal virtual interface VLAN 1.
ALSwitch(config)# interface VLAN 1 ALSwitch(config-if)# ip address 192.168.1.2 255.255.255. ALSwitch(config-if)# exit b. Set the default gateway for the switch and the default management VLAN to 192.168.1.1 as follows: ALSwitch(config)# ip default-gateway 192.168.1. ALSwitch(config)# exit
a. Verify the interface settings on VLAN 1 as follows:
ALSwitch# show interface VLAN 1
b. What is the bandwidth on this interface? ______________________________
c. What are the VLAN states: VLAN1 is __________, Line protocol is __________
d. Enable the virtual interface using the no shutdown command
ALSwitch(config)# interface VLAN 1 ALSwitch(config-if)# no shutdown ALSwitch(config-if)# exit
e. What is the queuing strategy? ______________________________________
a. The basic configuration of the switch has just been completed. Back up the running configuration file to NVRAM as follows: Note: This will ensure that the changes made will not be lost if the system is rebooted or loses power.
ALSwitch# copy running-config startup-config Destination filename [startup-config]?[ Enter ] Building configuration... [OK] ALSwitch#
a. To see the configuration that is stored in NVRAM, type show startup-config from the privileged EXEC (enable mode)
ALSwitch# show startup-config
b. What is displayed? ________________________________________________________
c. Are all the changes that were entered recorded in the file? ____________________________
Configure the hosts to use the same IP subnet for the address, mask, and default gateway as on the switch.
a. Verify that the mac-address-table was cleared as follows:
ALSwitch# show mac-address-table
b. How many total MAC addresses are there now? ___________________________________
c. Why are there so many? ____________________________________________________
d. How many dynamic addresses are there? ________________________________________
a. To determine the options available use the command clear mac-address-table? at the privileged EXEC mode prompt as follows:
ALSwitch# clear mac-address-table?
b. How many options are there? _________________________________________________
c. In what circumstances would these options be used? _______________________________
a. Look at the MAC address table again using the show mac-address-table command at the privileged EXEC mode prompt as follows:
ALSwitch# show mac-address-table
b. How many dynamic addresses are there? ________________________________________
c. Why did this change from the last display? _______________________________________
d. The table has not changed yet, ping the switch IP address from the hosts two times each and repeat Step 19.
Leave the switch welcome screen by typing exit as follows:
ALSwitch# exit
Computer Networks Lab
Q.1 What is the exact name of Cisco’s Operating System and what are its functions?
Q.2 Identify the differences between interface and line of a Cisco device.
Q.3 If switch doesn’t know the destination address, what will it do? If it does then what action is taken?
Q.4 How many memories are present in a switch? Briefly write each’s function.