Vous êtes sur la page 1sur 6

CCNA Training Virtual Local Area Network VLAN Tutorial

Type text to search here...

Page 1 of 6

Submit Query

Home > Virtual Local Area Network VLAN Tutorial

Virtual Local Area Network VLAN Tutorial


July 20th, 2011 Go to comments
Now to the configuration part ^^, in this part I use the building topology with two switches at the 1st
& 3rd floors and one Main Sw.
VLAN Configuration
Creating VLAN
1st_Floor_Switch#configure terminal
1st_Floor_Switch(config)#vlan 2
1st_Floor_Switch(config-vlan)#name SALES
1st_Floor_Switch(config-vlan)#vlan 3
1st_Floor_Switch(config-vlan)#name TECH
1st_Floor_Switch(config-vlan)#vlan 10
1st_Floor_Switch(config-vlan)#name LEADER
Notice that we dont need to exit out of Vlan mode to create another VLAN.
We also use the above configuration for 3rd_Floor_Switch & Main Sw.
Set VLAN Membership
Assign VLAN to each port:
1st_Floor_Switch(config)#interface f0/0
1st_Floor_Switch(config-if)#switchport access vlan 2
1st_Floor_Switch(config-if)#interface f0/1
1st_Floor_Switch(config-if)#switchport access vlan 3
Notice that for port connecting to host we must configure it as access port.
Create Trunk Ports:
+ On 2950 & 2960 Switches: Switches 2950 & 2960 only have 802.1q encapsulation so to turn it on we
simply use this command:

http://www.9tut.com/virtual-local-area-network-vlan-tutorial/2

12/15/2015

CCNA Training Virtual Local Area Network VLAN Tutorial

Page 2 of 6

Main_Sw(config-if)#switchport mode trunk


+ On 3550 & 3560 Switches: There are two encapsulation types in 3550 & 3560 Cisco switch: 802.1q
and ISL but there are 3 encapsulation methods: 802.1q, ISL and negotiate.The default encapsulation is
negotiate. This method signals between the trunk ports to choose an encapsulation method. ISL is
preferred over 802.1q so we have to configure to dot1q if we want to use this standard.
Main_Sw(config-if)#switchport trunk encapsulation dot1q
Main_Sw(config-if)#switchport mode trunk
In fact, if you use VLAN Trunking Protocol (VTP) then you only need to configure VLAN on the Main
Sw, set the Main Sw to Server mode and 2 other switches to Client mode. To learn more about
VTP, please read my VTP tutorial.
VLAN Summaries:
+ VLANs are used to create logical broadcast domains and Layer 3 segments in a given network
+ A VLAN is considered a logical segment because the traffic it carries may traverse multiple physical
network segments
Cisco switches support two different trunking protocols, Inter-Switch Link (ISL) and IEEE 802.1q. In
802.1q, native VLAN frames are untagged.
The benefits of VLANs
1. Segment networks into multiple smaller broadcast domains without Layer 3 network devices such as
routers. VLANs make switched Ethernet networks more bandwidth-efficient through this segmentation
of broadcast domains.
2. Group users together according to function rather than physical location. In a traditional network,
users in a given work area are on the same network segment regardless of their job description or
department. Using VLANs, however, you could have one salesperson in each work area of the building
sitting next to engineers in their work area, yet on a separate logical network segment.
3. The ability to reconfigure ports logically without the need to unplug wires and move them around. If a
user takes his or her computer to a new work area, no cables need to be swapped on the switch, just
access the switch and issue commands to change the VLAN assignments for the old and new ports.
VLANs thus simplify the process of adding, moving, and deleting users on the network. They also
improve network security by avoiding cabling mishaps that can arise when users are moved in
traditional Ethernet networks.
If you want to learn about VTP, please read my VTP tutorial.
If you want to find out how different VLANs can communicate, please read my InterVLAN Routing
tutorial.
Pages: 1 2
Comments (158) Comments
Comment pages
Previous 1 2 3 4 711

http://www.9tut.com/virtual-local-area-network-vlan-tutorial/2

12/15/2015

CCNA Training Virtual Local Area Network VLAN Tutorial

Page 3 of 6

1. juma fox
April 29th, 2015
thanks for this kind of explain good job hopefully to help me for my preparing foe exam
2. Anonymous
May 4th, 2015
stunning!
3. A K GANESH
May 13th, 2015
HOw does switch understands the vlan concept?
How does switch identifies the Data or Voice Vlan?
4. Ahmadshah shakir
May 16th, 2015
Thanks a lot for this helpful, simple and useful explanation of every concept with more examples.
It is really helpful and too much important concept which is explained pretty and understandable
for every CCNA student at all the times.
I studied it was very much interesting and amazing for my and I got too much help during my
CCNA study.
In the finally how I can have or download PDF version for all the CCNA note of this explanation?
Again thanks from your trouble.
5. mursalqaiser
May 25th, 2015
Dear All
If u need all CISCO exams CCNA (R&S) CCNA Security CCNP (Route Switch Tshoot) updated
valid dumps & Exam discount vouchers available globally.
I also deal in vmware (vsphere) discounted vouchers.
1. CCNA 200-120 58 % discounted vouchers
2. CCNA 640-554 50 % discounted vouchers
3. CCNP (Route Switch TShoot) 25 % discounted Vouchers
Ask any kind of technical and exam related questions from our CCIE experts.
Feel Free to Contact
Email Contact: mursalqaiser@gmail.com
Skype Id:mursalqaiser
6. Oseni Wasiu
August 20th, 2015
Thanks a lot
7. Mursal
August 21st, 2015

http://www.9tut.com/virtual-local-area-network-vlan-tutorial/2

12/15/2015

CCNA Training Virtual Local Area Network VLAN Tutorial

Page 4 of 6

thank u MR MURSALQAISER
8. SAM
September 14th, 2015
Thank you
Comment pages
Previous 1 2 3 4 711
Add a Comment
Name

Submit Comment

Subscribe to comments feed


Frame Relay GNS3 Lab VLAN Trunking Protocol VTP Tutorial

Premium Membership
Become a member to interact with all questions and read all tutorials, labs!

Find out more or Sign In

CCNA 200-120
z
z
z
z
z
z
z

CCNA Lab Sim


CCNA Basic Questions
CCNA OSI & TCP/IP Model
CCNA IOS Questions
CCNA WAN Questions
CCNA Switch Questions
CCNA Switch Questions 2

http://www.9tut.com/virtual-local-area-network-vlan-tutorial/2

12/15/2015

CCNA Training Virtual Local Area Network VLAN Tutorial

z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z

Page 5 of 6

CCNA VLAN Questions


CCNA Trunking Questions
CCNA Trunking Questions 2
CCNA EtherChannel
CCNA InterVLAN Questions
CCNA STP
CCNA STP 2
CCNA RSTP
CCNA Access list Questions
CCNA Subnetting
CCNA Subnetting 2
CCNA IP Routing Questions
CCNA IP Routing 2
CCNA Frame Relay
CCNA Frame Relay 2
CCNA NAT PAT Questions
CCNA OSPF Questions
CCNA OSPF Questions 2
CCNA EIGRP Questions
CCNA DHCP Questions
CCNA HSRP VRRP GLBP
CCNA SNMP Questions
CCNA NetFlow Questions
CCNA Syslog Questions
CCNA Security Questions
CCNA Operation Questions
CCNA Operation 2
CCNA Show commands
CCNA Troubleshooting
CCNA IPv6
CCNA IPv6 Questions 2
CCNA Drag and Drop 1
CCNA Drag and Drop 2
CCNA Drag and Drop 3
CCNA Drag and Drop 4
CCNA Drag and Drop 5
CCNA FAQs & Tips
Share your CCNA Experience

CCNA Self-Study
z
z
z

Practice CCNA GNS3 Labs


CCNA Knowledge
CCNA Lab Challenges

Network Resources

http://www.9tut.com/virtual-local-area-network-vlan-tutorial/2

12/15/2015

CCNA Training Virtual Local Area Network VLAN Tutorial

Free Router Simulators

ICND1/ICND2 Website

CCNP - ROUTE Website

CCNP - SWITCH Website

CCNP - TSHOOT Website

CCNA Security Website

CCNA Voice Website

CCNA Wireless Website

CCIE Website

Page 6 of 6

Top

Copyright 2010-2013 CCNA Training


Site Privacy Policy. Valid XHTML 1.1 and CSS 3.BH

http://www.9tut.com/virtual-local-area-network-vlan-tutorial/2

12/15/2015

Vous aimerez peut-être aussi