Pcornel
Networking · Network Devices › Layer 3 Switch

SVI

Cheat sheet · https://pcornel.dk/topic.php?topic=858

Back to the Topic

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 state
  • show ip interface brief | include Vlan — up/up

Commands

ip routing
show ip interface brief
show vlan brief
show ip route
show ip arp vlan <id>
show ip route <dest>
show ip interface vlan <id>
ip helper-address
ip default-gateway
ip 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

Confirmation

Confirm action

Continue?