Data Communications and Networking
Lab exercise no. 1.3: Configuring VLANs
Topology
Addressing Table
Device Interface IP Address Subnet Mask VLAN
PC1 NIC 172.17.10.21 255.255.255.0 10
PC2 NIC 172.17.20.22 255.255.2
...
Data Communications and Networking
Lab exercise no. 1.3: Configuring VLANs
Topology
Addressing Table
Device Interface IP Address Subnet Mask VLAN
PC1 NIC 172.17.10.21 255.255.255.0 10
PC2 NIC 172.17.20.22 255.255.255.0 20
PC3 NIC 172.17.30.23 255.255.255.0 30
PC4 NIC 172.17.10.24 255.255.255.0 10
PC5 NIC 172.17.20.25 255.255.255.0 20
PC6 NIC 172.17.30.26 255.255.255.0 30
Objectives
Part 1: Verify the Default VLAN Configuration
Part 2: Configure VLANs
Part 3: Assign VLANs to Ports
Background
VLANs are helpful in the administration of logical groups, allowing members of a group to be easily moved,
changed, or added. This activity focuses on creating and naming VLANs, and assigning access ports to
specific VLANs.
Edited by: Dr. Essam Alnatsheh Page 1 of 5
This study source was downloaded by 100000840858457 from CourseHero.com on 07-05-2022 15:57:36 GMT -05:00
https://www.coursehero.com/file/51191449/13-Packet-Tracer-Configuring-VLANs-Instructionsdocx/Packet Tracer – Configuring VLANs
Part 1: View the Default VLAN Configuration
Step 1: Display the current VLANs.
On S1, issue the command that displays all VLANs configured. By default, all interfaces are assigned to
VLAN 1.
Step 2: Verify connectivity between PCs on the same network.
Notice that each PC can ping the other PC that shares the same network.
PC1 can ping PC4
PC2 can ping PC5
PC3 can ping PC6
Pings to PCs in other networks fail.
What benefit will configuring VLANs provide to the current configuration?
The vlan can connecting each other without using router .
Part 2: Configure VLANs
Step 1: Create and name VLANs on S1.
Create the following VLANs. Names are case-sensitive:
VLAN 10: Faculty/Staff
VLAN 20: Students
VLAN 30: Guest(Default)
VLAN 99: Management&Native
VLAN 150: VOICE
Which commands do you used to accomplish this step?
S1>enable
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#vlan 10
S1(config-vlan)#name Faculty/staff
S1(config-vlan)#end
S1#config t
S1(config)#vlan 20
S1(config-vlan)#name student
S1(config-vlan)#end
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#vlan 30
S1(config-vlan)#name guest
S1(config-vlan)#end
Edited by: Dr. Essam Alnatsheh Page 2 of 5
This study source was downloaded by 100000840858457 from CourseHero.com on 07-05-2022 15:57:36 GMT -05:00
https://www.coursehero.com/file/51191449/13-Packet-Tracer-Configuring-VLANs-Instructionsdocx/Packet Tracer – Configuring VLANs
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#vlan 99
S1(config-vlan)#name manegment
S1(config-vlan)#end
S1#config t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#vlan 150
S1(config-vlan)#name voice
S1(config-vlan)#end
Step 2: S1(config-vlan)#end Verify the VLAN configuration.
Which command will only display in brief the VLAN name, status, and associated ports on a switch?
S1#show vlan brief
Step 3: Create the VLANs on S2 and S3.
Using the same commands from Step 1, create and name the same VLANs on S2 and S3.
Step 4: Verify the VLAN configuration.
Part 3: Assign VLANs to Ports
Step 1: Assign VLANs to the active ports on S2.
Configure the interfaces as access ports and assign the VLANs as follows:
VLAN 10: FastEthernet 0/11
VLAN 20: FastEthernet 0/18
VLAN 30: FastEthernet 0/6
S2(config)# interface f0/11
S2(config-if)# switchport mode access
S2(config-if)# switchport access vlan 10
S2(config-if)# interface f0/18
S2(config-if)# switchport mode access
S2(config-if)# switchport access vlan 20
S2(config-if)# interface f0/6
S2(config-if)# switchport mode access
S2(config-if)# switchport access vlan 30
Step 2: Assign VLANs to the active ports on S3.
S3 uses the same VLAN access port assignments as S2. Configure the interfaces as access ports and assign
the VLANs as follows:
VLAN 10: FastEthernet 0/11
VLAN 20: FastEthernet 0/18
VLAN 30: FastEthernet 0/6
Edited by: Dr. Essam Alnatsheh Page 3 of 5
This study source was downloaded by 100000840858457 from CourseHero.com on 07-05-2022 15:57:36 GMT -05:00
https://www.coursehero.com/file/51191449/13-Packet-Tracer-Configuring-VLANs-Instructionsdocx/Packet Tracer – Configuring VLANs
S3(config)# interface f0/11
S3(config-if)# switchport mode access
S3(config-if)# switchport access vlan 10
S3(config-if)# interface f0/18
S3(config-if)# switchport mode access
S3(config-if)# switchport access vlan 20
S3(config-if)# interface f0/6
S3(config-if)# switchport mode access
S3(config-if)# switchport access vlan 30
Step 3: Assign the VOICE VLAN to FastEthernet 0/11 on S3.
As shown in the topology, the S3 FastEthernet 0/11 interface connects to a Cisco IP Phone and PC4. The IP
phone contains an integrated three-port 10/100 switch. One port on the phone is labeled Switch and connects
to F0/4. Another port on the phone is labeled PC and connects to PC4. The IP phone also has an internal port
that connects to the IP phone functions.
The S3 F0/11 interface must be configured to support user traffic to PC4 using VLAN 10 and voice traffic to
the IP phone using VLAN 150.
S3(config)# interface f0/11
S3(config-if)# mls qos trust cos
S3(config-if)# switchport voice vlan 150
S3(config-if)# end
[Show More]