spremkumar Thu, 06/14/2007 - 21:10
User Badges:
  • Red, 2250 points or more


You can create L2 Vlans in Layer 2 Switches and SVI (Switched Vlan Interface Vlan interface with ip address) can be configured/created in Layer 3 Switches..

In Layer 2 Switch you will be allowed to create a single L3 SVI inerface which can have ip address assigned and used for management purpose...

In router you wont be able to create VLANs in normal ethernet ports where in you can create subinterfaces with different dotlq encapsulations..

But these days you have these ESW Modules which you can install in the router and on which you can create vlans..


mohammedmahmoud Thu, 06/14/2007 - 21:13
User Badges:
  • Green, 3000 points or more


VLANs are created on switches to applied under layer 2 ports in order to have VLAN (Virtual LANs), where each bunch of layer 2 ports belongs to (broadcast domain).

HTH, please do rate all helpful replies,

Mohammed Mahmoud.

upendra07 Fri, 06/15/2007 - 01:27
User Badges:

i want to know can i create vlan in l2 switches.

Jon Marshall Fri, 06/15/2007 - 01:40
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN


Assuming you have a switch which runs IOS

1) switch(config)# vlan 100

2) switch(config-vlan)# name vlan100

Your switch must be in VTP server or VTP transparent mode. You can check this with

"sh vtp status"

This will create a layer 2 vlan only. If you want to route between this vlan and other you will need to create a lyer 3 interface

switch(config)# int vlan 100

switch(config-if)# ip address

switch(config-if)# no shut




This Discussion