09-11-2014 02:53 AM - edited 03-07-2019 08:43 PM
Is it possible to change the default state of an SVI with no devices in layer 2 vlan?
"An SVI must have at least one device connected to a Layer 2 interface within the VLAN, otherwise the interface line protocol will be down."
I have configured a management Vlan and a Management IP address for every switch on Vlan 2.
This works fine when there is more than one switch in the VTP domain.
The problem I have now is when I have only one switch in the domain the SVI for that switch goes down. (or 1 stack of switches)
Only when I have seperate switch in the same VTP domain does the SVI go up.
I want the SVI to stay up on the main VTP server (the L3 Switch) regardless of weather there is any other switches in the domain.
I have read in other forums to use
>no keepalive
or
>no switch autostate.
But neither of these commands are available under >interface vlan 2
I am using and have the same issue on 2960X, 3750X, 4507E VSS pairs regardless of code version.
Thanks for your help
09-11-2014 05:41 AM
Hi @mark.hayes@mytr...,
The "autostate" command is only available in some Cisco routers (running 12.4T atleast), not in Catalyst Switches (Where I personally think it's hardly required).
The SVI remains Up/Up when you have more switches in your VTP domain because the trunk ports between those switches allows all VLANs by default (including VLAN 2). That's why VLAN 2 keeps up in that environment.
Test: If you remove the VLAN 2 from the trunk ports between the switches with the "switch trunk vlan allowed remove vlan 2", the VLAN 2 will go down although you have multiple switches in the VTP enviroment.
Conclusion: It's not possible to keep an SVI Up/Up in a switch without associate it with a port (access or trunk).
Sorry bro.
HTH.
Don't forget to rate.
Rgrds,
Martin, IT Specialist
10-23-2014 03:10 PM
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