Lab 8 CCN
Lab 8 CCN
Taxila
Computer Communication Networks LAB
Remarks: ……………………………………………
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.
4. Procedure
1. Open Packet Tracer 5 and setup a network similar to the following network. Use
Cisco 2950T switch.
Switch>enable
Switch#
b. Notice the prompt changed in the configuration to reflect privileged EXEC mode.
b. How many Ethernet or Fast Ethernet interfaces does the switch have? ___________________
c. What is the range of values shown for the VTY lines? _______________________________
Switch#configure terminal
Enter the configuration commands, one for each line. End by pressing Ctrl-
Z. Switch(config)#hostname ALSwitch
ALSwitch(config)#exit
b. Notice the prompt changed in the configuration to reflect its new name. Type exit or press
Ctrl-Z to go back into privileged mod
c. What does the configuration show as the hostname of this switch? ______________________
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
b. Which password takes precedence, the enable password or enable secret password?
________________
ALSwitch(config)#interface VLAN 1
ALSwitch(config-if)#ip address 192.168.1.2 255.255.255.0
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.1
ALSwitch(config)#exit
c. What are the VLAN states: VLAN1 is __________, Line protocol is __________
ALSwitch(config)#interface VLAN 1
ALSwitch(config-if)#no shutdown
ALSwitch(config-if)#exit
ALSwitch#show startup-config
c. Are all the changes that were entered recorded in the file? ____________________________
b. PC1: ___________________________________________________________________
c. PC4: ___________________________________________________________________
Step 14 Determine the MAC addresses that the switch has learned
a. To determine the what MAC addresses the switch has learned use the show mac-address-
table command as follows at the privileged EXEC mode prompt:
ALSwitch#show mac-address-table
ALSwitch#show mac-address-table ?
b. How many options are available for the show mac-address-table command? __________
ALSwitch#show mac-address-table
ALSwitch#exit