0% found this document useful (0 votes)
34 views

Lab 3

retg

Uploaded by

Choudhary Behram
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Lab 3

retg

Uploaded by

Choudhary Behram
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

CONFIGURATION OF

VLANS
Lab-03

Computer Networks
COSC-3201

Lab Instructor:
Mr. Muhammad Tariq Ali
Student Name

Student Roll #

Department

Year/Section
1. OBJECTIVES
Perform an initial configuration of a Cisco Catalyst 2960 switch.
Configuring VLAN in Cisco Packet tracer

2. Background / Preparation
In this activity, you will configure these settings on the Cisco Catalyst 2960 switch:
Host name
Privileged EXEC mode password
Privileged EXEC mode secret password

Lab Task 1 VLAN:

Virtual LANS:

A virtual LAN is any broadcast domain that is partitioned and isolated in a computer network at the
data link layer.

Step 1:

Configure following topology in Cisco Packet tracer


Step 2: Assign IP addresses to Router and all PCs.
Step 3: Create 2 VLANs on the switch: VLAN 2 and VLAN 3

KFUEIT #config terminal


KFUEIT (config)#vlan 2
KFUEIT (config-vlan)#name CS
KFUEIT (config))#vlan 3
KFUEIT (config-vlan)#name IT

Step 4: Add PC1 and PC3 in one vlan 2

KFUEIT>enable
KFUEIT#config terminal
Note: Write the name of interfaces in
KFUEIT (config)#int fa0/1 packet tracer that are connected to
KFUEIT (config-if)#switchport mode access PC0 and PC1
KFUEIT (config-if)#switchport access vlan 2

KFUEIT (config-if)#int fa0/2


KFUEIT (config-if)#switchport mode access
KFUEIT (config-if)#switchport access vlan 2
Step 5: Add PC2 and PC4 in vlan 3
KFUEIT (config-if)#int fa0/3
KFUEIT (config-if)#switchport mode access
KFUEIT (config-if)#switchport access vlan 3

KFUEIT (config-if)#int fa0/4


KFUEIT (config-if)#switchport mode access
KFUEIT (config-if)#switchport access vlan 3

Step 6: Ping PC3 from PC1


Step 7: ping PC2 from PC1

You might also like