0% found this document useful (0 votes)
23 views18 pages

3.3.12-Vlan Configure

Bài tập môn Mạng máy tính- sử dụng phần mềm Cisco Packet Tracer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views18 pages

3.3.12-Vlan Configure

Bài tập môn Mạng máy tính- sử dụng phần mềm Cisco Packet Tracer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 18

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 subnet.

· PC1 can ping PC4

· PC2 can ping PC5

· PC3 can ping PC6

Pings to hosts on other networks fail.

Question:
What benefits can VLANs provide to the network?
Lợi ích chính của việc sử dụng Vlan là bảo mật, giảm chi phí, tăng hiệu suất, giảm thiểu các
cơn bão phát sóng, tăng hiệu quả của nhân viên CNTT và đơn giản hóa việc quản lý dự án và
ứng dụng.
Part 2: Configure VLANs
Step 1: Create and name VLANs on S1.
a. Create the following VLANs. Names are case-sensitive and must match the requirement
exactly:

- VLAN 10: Faculty/Staff

Open 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

Step 2: Verify the VLAN configuration.


Question:
Which command will only display the VLAN name, status, and associated ports on a switch?
- S1# vlan show brief
Step 3: Create the VLANs on S2 and S3.
Use the same commands from Step 1 to 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.
a. Configure the interfaces as access ports and assign the VLANs as follows:

- VLAN 10: FastEthernet 0/11

S2(config)# interface f0/11

S2(config-if)# switchport mode access

S2(config-if)# switchport access vlan 10

b. Assign the remaining ports to the appropriate VLAN.

- VLAN 20: FastEthernet 0/18

- VLAN 30: FastEthernet 0/6


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


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. The interface must also enable QoS and trust the
Class of Service (CoS) values assigned by the IP phone. IP voice traffic requires a minimum
amount of throughput to support acceptable voice communication quality. This command helps
the switchport to provide this minimum amount of throughput.

S3(config)# interface f0/11

S3(config-if)# mls qos trust cos

S3(config-if)# switchport voice vlan 150


Step 4: Verify loss of connectivity.
Previously, PCs that shared the same network could ping each other successfully.
Study the output from the following command on S2 and answer the following questions based
on your knowledge of communication between VLANS. Pay close attention to the Gig0/1 port
assignment.

Try pinging between PC1 and PC4.


Questions:
Although the access ports are assigned to the appropriate VLANs, were the pings successful?
Explain.
What could be done to resolve this issue?
PC1 kết nối với S2 thông qua cổng F0/11 và PC4 kết nối với S3 thông qua F0/11 và đều nằm ở
Vlan 10. Để PC1 ping đền PC4 thì phải đi qua S1 với các cổng G0/1, G0/2 nhưng S1 lại nằm ở
Vlan1. Cần phải cấu hình trunk port thì mới có thể PC1 ping PC4.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy