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.

https://forum.networklessons.com/t/intervlan-routing/1147/26?u=lagapides

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/15-2_2_e/command/reference/CR_3750X/cli3.html#pgfId-3120403