Packet Tracer – VLAN configuration

Address allocation table

Equipment

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

Target

Part 1: Verify Default VLAN Configuration

Part 2: Configuring VLANs

Part 3: Assign VLANs to ports

Background information

VLANs are useful for managing logical groupings in which members can be easily moved, changed, or added. This exercise focuses on creating and naming VLANs and assigning access ports to specific VLANs.

Part 1: Review the default VLAN configuration

Step 1: Display the current VLAN.

On S1, enter the command that displays all configured VLANs. By default, all interfaces are assigned to VLAN 1.

show vlan brief

Step 2: Verify connectivity between PCs on the same network.

Note that each PC can ping other PCs on the same subnet.

·PC1 can ping PC4.

Use a simple PDU to test whether PC1 can ping PC4.

·PC2 can ping PC5.

·PC3 can ping PC6.

The method is the same as above, you can also use the command line ping

Ping tests initiated to hosts on other networks will fail. question:

What benefits can VLANs bring to the network?

Part 2: Configuring VLAN

Step 1: Create and command VLAN on S1.

a. Create the following VLANs. The name is case-sensitive and must strictly match the requirements:

·VLAN 10: Faculty/Staff

Open the configuration window

S1#(config)# vlan 10

S1#(config-vlan)# name Faculty/Staff

b. Create the remaining VLANs.

·VLAN 20: Students

·VLAN 30: Guest(Default)

·VLAN 99: Management &Native

·VLAN 150: VOICE

Exit is not required (I misunderstood)

Step 2: Verify the VLAN configuration.

Question:

What commands can display only the name, status, and associated ports on the switch of a VLAN?

show vlan brief

Step 3: Create VLANs on S2 and S3.

Using the same command as in step 1, create the same VLAN on S2 and S3 and name it .

So far 3/2 has been completed

Step 4: Verify the VLAN configuration.

show vlan brief

Close the configuration window

Part 3: Assign VLANs to ports

Step 1: Assign VLANs to active ports on S2.

a. Configure the interface as an access port and divide VLANs as follows:

·VLAN 10: FastEthernet 0/11

Open the configuration window

S2(config)# interface f0/11

S2(config-if)# switchport mode access

S2(config-if)# switchport access vlan 10

b. Divide the remaining ports into corresponding VLANs.

·VLAN 20: FastEthernet 0/18

·VLAN 30: FastEthernet 0/6

Step 2: Assign VLANs to active ports on S3.

S3 uses the same VLAN access port assignment as S2. Configure the interface as an access port and assign VLANs as follows:

·VLAN 10: FastEthernet 0/11

·VLAN 20: FastEthernet 0/18

·VLAN 30: FastEthernet 0/6

Step 3: Assign the VOICE VLAN to FastEthernet 0/11 on S3.

As shown in the topology, the S3 FastEthernet 0/11 interface is connected to the Cisco IP Phone and PC4. The IP phone includes an integrated three-port 10/100 switch. One port on the phone is labeled “Switch” and is connected to F0/4. The other port on the phone is labeled “PC” and is connected to PC4. The IP phone also has an internal port that is used to connect to the IP phone feature.

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. This interface must also have QoS enabled and trust the Class of Service value assigned by the IP phone. Voice over IP traffic requires a minimum throughput to support acceptable voice communication quality. This command helps the switch port provide this minimum throughput.

S3(config)# interface f0/11

S3(config-if)# mls qos trust cos

S3(config-if)# switchport voice vlan 150

Step 4: Verify connectivity is down.

Previously, PCs on the same network could ping each other.

Study the output of the following commands on S2 and answer the following questions based on your knowledge of inter-VLAN communication. Take a closer look at the Gig0/1 port assignments.

S2# show vlan brief

VLAN Name Status Ports

————————————————– ————————–

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/7, Fa0/8, Fa0/9

Fa0/10, Fa0/12, Fa0/13, Fa0/14

Fa0/15, Fa0/16, Fa0/17, Fa0/19

Fa0/20, Fa0/21, Fa0/22, Fa0/23

Fa0/24, Gig0/1, Gig0/2

10 Faculty/Staff active Fa0/11

20 Students active Fa0/18

30 Guest(Default) active Fa0/6

99 Management &Native active

150 VOICE active

Try pinging between PC1 and PC4.

Question:

Although the access port has been assigned to the corresponding VLAN, is the ping successful? Explain the reason.

How can I correct this problem?

Close the configuration window

End of document

The knowledge points of the article match the official knowledge files, and you can further learn related knowledge. Network skill treeLAN technologyStacking and clustering 42048 people are learning the system