Networking · Network Devices › Layer 3 Switch
SVI
Cheat sheet · https://pcornel.dk/topic.php?topic=858
Answer
A switched virtual interface (SVI, interface vlan <id>) is a Layer 3 interface for a VLAN, used as that VLAN's default gateway or for management; it is up only when the VLAN has an active port.
Remember
- An SVI is a virtual Layer 3 interface for a VLAN on a switch.
- It acts as the default gateway for hosts in that VLAN.
- The SVI is up only if the VLAN has an active port or trunk.
First checks
show interfaces vlan <vlan>— SVI stateshow ip interface brief | include Vlan— up/up
Commands
ip routingshow ip interface briefshow vlan briefshow ip routeshow ip arp vlan <id>show ip route <dest>show ip interface vlan <id>ip helper-addressip default-gatewayip redirects
Verify in this order
VLAN active → SVI up → gateway
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=858