Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Vlan configuration - definitions and how to do it

Posted on 2009-02-20
Medium Priority
Last Modified: 2012-06-27
is there someplace that can explain vlan configuration, definitions and what they mean, as well as examples of vlan configurations on switches.  I think i have the general idea of vlan configuration but some clear cut definitions as well as several examples to look at would be very helpful
Question by:PeterfromDenmark

Expert Comment

ID: 23699630
VLAN is a virtual LAN , where u logically seperate the LAN in to diffrent dep with appropriate subnet
VLAN can communitate with each other via L3 device like layer 3 switch or Router.


Accepted Solution

sp00k5599 earned 1000 total points
ID: 23711922
vLAN's are pretty simple.     First thing you want to do is create the sub interface on you router.

Fa0/1.22       (the .22 I use the name of the vlan for the sub-interface)
encapsulation dot1Q 22
ip address   (your gateway ip is fine.  Its also dependent on your needs)

Now on your switch you want to set the vtp mode and vtp domain.  (These are for multiple switchs)

VTP Mode transparent   (Modes are server, transparent, client)
VTP Domain mynetwork
config t
vlan 22
name myvlan
ip address (management IP for switch)
int fa0/1
switchport access vlan 22

Now on the switch you also need to configure your trunk interface that connects to your router
int fa0/24
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 22
switchport mode trunk

Thats pretty much all you need to configure a vLAN..  Its really simple.  

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Integration Management Part 2
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month12 days, 11 hours left to enroll

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question