Very simple question:
I have a core switch. I want a specific VLAN IP interface to be declared as "down" when no physical interfaces using it are available (access ports or trunks).
I don't want this core switch to propagate a route to which is has no real connectivity.
So far, I can see that if the vlan exists in the vlan database, and an IP address was assigned, this is enough to make its line protocol be "up" (when executing "show int vlan x").
I want it to look like:
switch#sho int vlan X
VlanX is up, line protocol is down
Do you know if a vlan lan protocol state can be associated to a physical interface lan protocol state?
This may be related to shutting down the vlan internally in the switch. Don't know how to make this happen automatically.