Switching - switchport autostate command

There are three requirements for an SVI to be in a state of up/up:

  • The VLAN must exist and be active in the VLAN database.
  • At least one interface should be active for the VLAN.
  • That interface has to be in Spanning Tree Protocol (STP) forwarding state.

The switchport autostate exclude command on the interface can be used to exclude interfaces from this check. The no autostate exclude command on the VLAN can be used to disable all checks completely.

The result is that an SVI would have the up/up state even if the requirements above are not met.