Recently, I created a short video that shows you how to configure and use VLAN s on a Cisco IOS Router & Switch. It is a step-by-step 15 minute video. It was originally published over at SearchNetworking.com. A virtual LAN (VLAN) is a broadcast domain created by switches. VLANs are a convenient way to connect ports from different switches and different buildings onto the same network and broadcast domain, preventing the need for a complex system of subnets.
In this video, you will learn how to configure a VLAN in this step-by-step, automated, 15-minute demo. I am a CCIE Cisco networking expert and I will walk you through the steps you’ll need to configure your routers and switches, set up and assign the trunk ports, and perform the necessary tests to get traffic moving across your VLAN successfully. You can view the configuration commands I used in the video at the bottom of this page.
Oh – if you would like to see an EXCELLENT video training course that covers all aspects of VLAN configuration, switch configuration, and prepares you for the CCNP, please check out the Train Signal Cisco CCNP Training Video Series – 642-812 BCMSN
CLICK HERE TO LEARN ABOUT OUR CISCO CCNA VIDEO TRAINING!
Click Play to begin the video or Click Here to see the video in its full-size

Configuration commands
Router commands
Interface fastethernet 4.1
Encapsulation dot1q 10
Interface fastethernet 4.2
Encapsulation dot1q 20
Interface fastethernet 4
No shutdown
Show ip interface brief
Show vlans
Switch commands
Interface fastethernet 2/0
Switchport access vlan 10
No shutdown
Interface fastethernet 5/0
Switchport access vlan 20
No shutdown
Interface vlan 10
Ip address x.x.x.x y.y.y.y
No shutdown
Interface vlan 20
Ip address x.x.x.x y.y.y.y
No shutdown
Show vlan brief
Show interfaces switchport
Show ip interface brief
Show int trunk

David Davis (CCIE #9369, VCP, CISSP, MCSE) has been in the IT industry for 15+ years. He has authored over 300 articles, 6 video training courses, and co-authored one book. Learn about David's certifications, video courses, and where you can find his content on our 
{ 31 comments… read them below or add one }
Hello Sir,
I am Suhas from Bangalore,INDIA. I am planning to write a CCNA exam next month (may,2008). I have come accross your CCNA material (VLAN configuration) todya and found that very informative.
Could you please give me some pointers to prepare my CCNA exam? Thanks a lot for your help,
-Suhas.
hello,
great work,buddy the information on VLANS was really very helpful to me.thanx .kep it up.god bless u.
regard’s
cyril
the guide about the vlan is prefect,
Thanks alot David Davis 
all the best in your future acticles
Hello sir,
I am Modou from The Gambia the VLAND configuration was relly helpful to me . thanks keep it up
i have create vlan my diffrent vlan ping to each other but
my default gateway is not ping default gateway is use for internet
purchase
devices
Router
Cisco ASA CSC SSM firewall
Cisco 3750 Switch
i have configar all in layer 3 switch (3750-24ts)
my vlan1 -192.168.2.241
vlan2-192.168.1.100
vlan 3-192.168.3.100
default gateway is 192.168.2.100
Thanks so much I have really gained an incredible idea on VLAN config after this wonderful demonstration
Hi
I wish to thank for accepting to share your knowledge with us,am now a step ahead towards my preparations for CCNA exams any other link to more details will be highly appreciated
james
from kenya
really thank you very much to gain knowledge in vlan.it really help a lot.
yes very good comments
could u sent me router configuration video file send me my mail id
Thanks ya
Am preparing to write my CCNA exams and i need help from you to prepare me well for my exam.Your Vlan is superb,i want you to duell more on all aspect of Vlan thanx.
Hello sir,
i am preparing to write a ccna exam ,i need some ideas.the vlan configuration very nice
Hello
I am in afghanistan working with secureCRT on the system using it to navigate to the routers and switches, but have limited experince with the program, do you have any suggestions fro me?
It is very nice i would like this video site and i understand how to configure VLAN
awesome demo! Thanks for clarifying vlans!!
Dear David,
I like your video about VLANS.I found it very interesting to listen,But pls add some more information related to security issues that VLANS have.
Thanks 4 ur guidence
Benet Christian(INDIA)
Content help me a lot thnax
Dear Sir Thank you very much for your Great Video. I Salute You
Please don’t stop
It is very nice to understand what is vlan and how it works. Yr explanation is good to know everyone who has doubt about Vlans. Thanks
Sugeetha
Dear Mr. David Davis,
It’s very easy, simple and nice video to learn for VLAN Configuration.
I really appreciated to you sharing for this.
thank you very much.
With best Regards,
Shahbaz.
Hi Sir,
Thanks for this video.
I have a question. i have been trying to set me fa ports to “switchport mode access” but when i use “sh run” my port is not set to mode access.
Aooreciate if you could advise
Thanks
Steve
Hello David,
This is the best explanation I have found. Very well explained. Two thumbs up, Five Star. It helped me at right time. Hope to learn more from you.
Andy Desai
Great video and thanks for sharing. But I have a comment, in putting ip address in vlan, you’ve mention that it is for management only? as far as I know it should be a gateway of the client pc (ex.vlan10) in order to travel to different vlan or maybe the router itself(subinterface) is the gateway for 2 vlans.
Thanks and more power to you David.
hi, sir
thank you for guide to all of us to guaide ccna. i hope in thise fild so vacancis. 7 very attractive job’s. once agian thnk you for you.
HI, YOU R ACTUALLY VERY GOOG IN EXPLAINIG HOW TO CONFIGURE VLANDS BUT PLEASE COULD U ADD ANOTHER 15 MINUTES OF CONFIG.
THANGS
Your video was of great help in getting an understanding of VLANS even though we are not a Cisco house. Thankyou
NT360
Hei,
Nice work Pal, It works even for Beginners.
Regards
Jayesh
Hi Sir,
today i watched your movie. Great job, helped me a lot to understand vlan.
Thank you sir,
best regards
Hi David,
Brillaint work…u taught me VLANS in15:06 mins….great job..
God bless you..
-Bosco.
hey .
m waqar from Pakistan. M preparing for my CCNA .This video about VLAN turned out to be very useful for me.Now ican easily conf. the VLAN’s ,manage them create trunk port.This is so ko0l .Thanks David for free video tutorial.
you r so genius .
Hi David,
This is quite good video representation for understanding of Vlan and trunk configuration.
Many many thanks,
S.Sugumar