Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

SVI · Layer 3 Switch

Direct 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.

When to use this

Use it when a VLAN gateway on a switch is down or unreachable.

First 30 seconds

1. SVIs are virtual L3 interfaces per VLAN.

2. Up when VLAN exists with an active port.

3. Act as default gateways.

4. FHRP for redundancy.

5. Check autostate.

Operational verification

VLAN active → SVI up → gateway

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandip address 10.10.10.1 255.255.255.0
Scope / prerequisiteUse it when a VLAN gateway on a switch is down or unreachable.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification & troubleshooting Narrow the fault
SymptomCommandLook forNext check
SVI down/downshow ip interface brief and show vlan briefVLAN exists and has an active portCreate the VLAN, activate a port in it, or check the trunk allowed list and STP state
SVI up but hosts cannot routeshow ip routeip routing enabled; connected routes for each SVIHost gateway and mask; show ip arp vlan <id>
One VLAN cannot reach anothershow ip route <dest>Connected route via the other SVIACLs on the SVI (show ip interface vlan <id>)
Step 2 Common mistakes Narrow the fault
  • SVI down because no active port in the VLAN.
  • Forgetting ip routing on the switch.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • show interfaces vlan <vlan> — SVI state
  • show ip interface brief | include Vlan — up/up
ReferenceWhat it is1 section · depth on demand

What it is

A switched virtual interface (interface vlan <id>) is the Layer 3 interface of a VLAN on a multilayer switch, normally the default gateway for hosts in that VLAN. Routing between SVIs happens in the switch hardware once ip routing is enabled.

An SVI is up/up only when autostate is satisfied: the VLAN exists in the VLAN database and at least one access or trunk port carrying that VLAN is up and in STP forwarding. Without such a port the SVI stays down/down even with a correct IP address.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

SVI: the switch virtual interface

An SVI is the Layer 3 interface of a VLAN on a switch. Cisco's Catalyst 9300 interface guide describes SVIs as virtual VLAN interfaces for inter-VLAN routing or for reaching the switch by IP, one per VLAN; an SVI is created the first time you enter interface vlan <id>, and VLAN 1's SVI can't be deleted.

When an SVI is up

The interface guide states that an SVI doesn't become active until it's associated with a physical port. With autostate, the SVI is up when at least one port in the VLAN is up and forwarding (an access port in the VLAN, or a trunk carrying it in STP forwarding state).

SettingEffect
switchport autostate exclude on a portThat port doesn't count when deciding the SVI's state
no autostate on the SVISVI state no longer follows the VLAN's ports

Gateway SVIs

DIST1(config)# ip routing
DIST1(config)# vlan 120
DIST1(config)# interface Vlan120
DIST1(config-if)# description VOICE gateway
DIST1(config-if)# ip address 10.120.0.2 255.255.255.0
DIST1(config-if)# standby 120 ip 10.120.0.1
DIST1(config-if)# standby 120 priority 110
DIST1(config-if)# standby 120 preempt
DIST1(config-if)# ip helper-address 10.20.0.10
DIST1(config-if)# no shutdown
DIST1# show interfaces Vlan120 | include line protocol|Internet address
Vlan120 is up, line protocol is up
  Internet address is 10.120.0.2/24
DIST1# show standby brief | include Vl120
Vl120       120  110 P Active  local           10.120.0.3      10.120.0.1

Common SVI problems

SymptomCause
SVI up/downNo active port in the VLAN, or the VLAN missing from all trunks
SVI administratively downno shutdown missing (SVIs are often created shut)
Hosts can't reach other VLANsip routing missing, or hosts use the wrong gateway
No DHCP for clientsip helper-address missing on the SVI

Management SVIs on Layer 2 switches

A pure Layer 2 switch usually has one SVI for management, plus ip default-gateway, which the routing guide describes as the default gateway used when IP routing is disabled.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

An SVI is the routed interface for a VLAN on a Layer 3 switch, usually acting as the default gateway for that VLAN. Good SVI design includes clear descriptions, a redundant gateway address shared between two switches, and the services that belong at the gateway, such as DHCP relay.

SVI design on Layer 3 switches:

interface Vlan20
 description Users-Floor2
 ip address 10.0.20.2 255.255.255.0
 standby 20 ip 10.0.20.1
 standby 20 priority 110
 standby 20 preempt
 ip helper-address 10.0.0.60
 no ip redirects
 no ip proxy-arp

With FHRP, clients use the virtual IP; each switch has its own real IP. Disable ip redirects when FHRP is used to avoid ICMP redirects to real addresses.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Configuration example (Cisco IOS XE)

ip routing
!
vlan 10
 name USERS
!
interface Vlan10
 ip address 10.10.10.1 255.255.255.0
 no shutdown
!
interface GigabitEthernet1/0/10
 switchport mode access
 switchport access vlan 10

Documented example, not captured output.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Network Devices → Layer 3 Switch → SVI. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Confirmation

Confirm action

Continue?