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

Lab 3 Trunk

This document provides instructions for a lab exercise on configuring VLAN trunks between multiple switches. The steps have students: [1] Connect PCs to different switches and assign IP addresses; [2] Create VLAN 2 on each switch and assign ports to VLANs, preventing communication between VLANs; [3] Configure the trunk port between switches, allowing communication between all PCs across the VLANs. The learning objectives are to practice VLAN configuration and establish VLAN trunks to pass tagged traffic between switches.

Uploaded by

Wafa Hoor
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Lab 3 Trunk

This document provides instructions for a lab exercise on configuring VLAN trunks between multiple switches. The steps have students: [1] Connect PCs to different switches and assign IP addresses; [2] Create VLAN 2 on each switch and assign ports to VLANs, preventing communication between VLANs; [3] Configure the trunk port between switches, allowing communication between all PCs across the VLANs. The learning objectives are to practice VLAN configuration and establish VLAN trunks to pass tagged traffic between switches.

Uploaded by

Wafa Hoor
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Lab 3

VLAN Trunk
Learning Objectives:
In this lab students will exercise the features of VLANs on multiple switches. Create VLAN Trunk to pass
the tagged traffic from one switch to another.

Physical Topology:

Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is produced
from a 2960 series switch. Any other switch used may produce different output. Select the “Command
Line” option from the menu to perform the steps for this lab.
Part 1: Creating and configuring VLAN on a multiple Switches

Step 1:

a. Connect PC 1 and PC 2 to port 1 and port 2 on Switch 1 respectively

b. Connect PC 3 and PC 4 to port 1 and port 2 on Switch 2 respectively

c. Which cable configuration is used to connect a computer to a switch?

d. Which cable configuration is used to connect both switches?

Step 2 : Assign IP addresses to all the computers as follows

PC1: 192.168.1.1 PC2: 192.168.1.2


PC3: 192.168.1.3 PC4: 192.168.1.4

a. Check Vlan status on both switches using the following command

Switch#sh vlan brief

b. At this point all computers should be able to access each other. Verify it by using PING command

Step3: Creating VLAN

a. Create Vlan 2 on Switch 1 and Switch 2 by using the command below

Switch#config t
Switch(config)#vlan 2
Switch(config)#exit

b. Add port 1 of switch 1 and port 2 of switch 2 to Vlan 2. Follow the command below
Switch1(config)#interface fastethernet 0/1
Switch1(config-if)#switchport access vlan 2
Switch1(config-if)#exit

Switch2(config)#interface fastethernet 0/2


Switch2(config-if)#switchport access vlan 2
Switch1(config-if)#exit

c. Are you able to PING from PC 1 to PC 2, if No then Why _____?


d. Are you able to PING from PC 1 to PC 4, if No then Why _____?
e. PING PC 2 > PC 3, Can you PING? If Yes then how ______?

Step 4: Adding a trunk port

a. Make Port 3 on Switch 1 and Switch 2 a Trunk port. Follow the command
Switch1#conf t
Switch1(config)#switchport mode trunk
Switch1(config)#exit

b. Are you able to PING from PC 1 to PC 4 ______?


c. Are you able to PING from PC 2 to PC 3 ______?
d. Are you able to PING from PC 2 to PC 4 ______?

Conclusion:

______________________________________________________________

______________________________________________________________

______________________________________________________________

Learning Outcomes:

______________________________________________________________

______________________________________________________________

______________________________________________________________

You might also like