11-04-2008 12:37 AM - edited 03-06-2019 02:17 AM
Dear Sir,
Do you know how can we bring up a empty vlan, which has not device connected?
Thanks
11-04-2008 01:14 AM
Joseph,
as far as i know i dont think the vlan interface line protocol will come up unless a layer 2 port exist in the vlan and that port status is connected.
Francisco.
11-04-2008 01:22 AM
Joseph
Francisco is correct. You either
i) have a port in that vlan up and active
OR
ii) have an active trunk link with that vlan on it
Jon
11-04-2008 07:44 AM
On some older switches you could use this command
!
vlan database
vlan 100 state active
exit
!
11-04-2008 07:51 AM
If it's a L3 switch, you can assign an SVI to it, and it'll bring it up also.
This is from memory (so don't quote me.) :-)
Router(config)# vlan 5
Router(config-vlan)#exit
Router(config)# int vlan 5
Router(config-if)#ip address 192.168.5.1 255.255.255.0
Router(config-if)# exit
It should show the vlan come up even though you don't have anything attached.
L2 switches require something to be attached and a member of that vlan for them to come up.
--John
11-04-2008 08:16 AM
John
From memory as well :-) but pretty sure this won't work. On a L3 switch if you configure a L3 SVI and there is no active trunk port with that vlan on it nor an active port assigned into that vlan then it will briefly come up/up but then go down.
Jon
11-04-2008 08:20 AM
Jon,
You may be right. I have one port that trunks all vlans, so by default when I add a new vlan and SVI, it automatically belongs to that trunked port.
Good catch. :-)
John
11-04-2008 08:34 AM
for a test i created vlan 100 on my L3 switch and created the SVI for the vlan 100 with ip address 155.1.0.1/24. the vlan 100 SVI line protocol will not come up unless i add a l2 port in vlan 100 and the l2 interface line protocol is ip. when i remove the L2 port from the vlan 100 and put it in to vlan 2, the vlan 100 SVI goes down again.
so that shows that the vlan SVI line protocol will not come up unless a layer 2 port exist in the vlan and that port status is connected
Francisco.
11-04-2008 05:53 PM
vlan is created on two 3560 switches(HSRP) and is trunked to two 2960 switches. On the two 2960, I added servers to the vlan. But the vlan on the two 3560 are still down. And the HSRP for the vlan is not working. It shows "unknown" on both 3560 switches.
I suppose once the servers are connected to 2960, the vlan on 3560 will up at once.
Any idea? Thanks.
11-04-2008 08:20 PM
Hi,
Can you provide the switch connection diagram and the port configuration of the connected ports.
I think your vlan trunks are not allowed that vlan to pass
Bhargav
11-05-2008 02:21 AM
what bhargav suggested about the vlan available between the 3650's for the HSRP to work. if the vlan is not allowed, then the switches will not exchange mutlicast traffic. perhaps you should "debug standby errors/events" to see why HSRP is not working.
Francisco.
11-04-2008 07:55 AM
Hello Mark, heard you had moved on. Hope your new job is better than the one you left - how couldn't it be :-)
Jon
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