Pcornel
Networking · Switching › VLAN › Inter-VLAN Routing › Layer 3 Switch

SVI

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

Back to the Topic

Answer

An SVI used for inter-VLAN routing is the Layer 3 gateway interface for hosts in its VLAN on a multilayer switch.

Remember

The SVI IP prefix must match the host subnet and the SVI must be operational. Duplicate addressing, wrong masks or an inactive VLAN can break routing while configuration looks superficially present.

First checks

  • show ip interface brief | include Vlan — SVI status
  • show interfaces vlan <vlan> — line protocol
  • show ip route connected — SVI subnets

Commands

show ip interface brief
Compact IPv4 interface/address/protocol state.
show ip route
IPv4 RIB routes and selected next hops.
show interfaces vlan <id>
Display the status of an SVI.
ip helper-address
show interfaces vlan 10
ip routing
show ip arp vlan 10
show mac address-table vlan 10
show ip interface vlan 20

Verify in this order

VLAN exists + active port → SVI up → connected route → inter-VLAN routing

Where it usually breaks

physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=978

Confirmation

Confirm action

Continue?