02-21-2011 06:29 PM - edited 03-04-2019 11:30 AM
Hi,
What's the difference between creating vlans like this?
interface vlan100
ip address ....
vlan 100
name test
ip address...
Thanks.
Solved! Go to Solution.
02-21-2011 06:34 PM
the int vlan100 creates layer3 interface for routing
it requires creation of layer 2 vlan first, which is created with
vlan100 command
(there should not be "ip address" option here)
layer3 interface is not required unless you need to route
02-21-2011 06:50 PM
vlan 100
name test
You are creating a VLAN instance in the VLAN database.
02-21-2011 06:34 PM
the int vlan100 creates layer3 interface for routing
it requires creation of layer 2 vlan first, which is created with
vlan100 command
(there should not be "ip address" option here)
layer3 interface is not required unless you need to route
02-21-2011 06:37 PM
thanks. I must have been running some pretty old code. I was doing static routing with only the int vlan100 commands being used.
02-21-2011 06:50 PM
vlan 100
name test
You are creating a VLAN instance in the VLAN database.
02-21-2011 07:20 PM
that explains this message...I never created the vlan100 artifact before creating the int vlan100
Switch(config-if)#switchport access vlan 100
% Access VLAN does not exist. Creating vlan 100
Thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide