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 is correct. You either
i) have a port in that vlan up and active
ii) have an active trunk link with that vlan on it
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)# int vlan 5
Router(config-if)#ip address 192.168.5.1 255.255.255.0
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.
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.
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. :-)
for a test i created vlan 100 on my L3 switch and created the SVI for the vlan 100 with ip address 184.108.40.206/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
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.
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
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.