l2 vlan

Unanswered Question
Jun 14th, 2007


can i create vlan on any l2 or router.can i use router as a l3.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
spremkumar Thu, 06/14/2007 - 21:10


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


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.

Jon Marshall Fri, 06/15/2007 - 01:40


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