Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

SVI · VLAN

Direct answer

An SVI (interface vlan <id>) is a Layer 3 interface for a VLAN on a switch. It is the hosts' default gateway on a Layer 3 switch, or the management address on a Layer 2 switch.

When to use this

Use it when hosts cannot reach their gateway, or an SVI stays down.

First 30 seconds

1. show ip interface brief | include Vlan — SVI up/up with the right address?

2. Administratively down → no shutdown.

3. Up/down → VLAN missing, or no port in the VLAN up and forwarding: show vlan brief, show interfaces trunk.

4. ping <host> from the SVI, then show ip arp vlan <id>.

5. Hosts use this address as their gateway?

Operational verification

VLAN exists → at least one port in the VLAN up and forwarding → SVI up/up → address configured → hosts resolve the gateway with ARP → traffic routed

Evidence · next step

Check VLAN existence and active Layer 2 member/trunk state, then re-check the SVI.

Continue only after interpreting the current observation.
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 commandinterface vlan <id>
Scope / prerequisiteUse it when hosts cannot reach their gateway, or an SVI stays down.
Configure · 1Show · 1Reference · 5
What next?3 suggested next steps
Catalog command links7
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show interfaces vlan <id>

Look first: line/protocol state, errors/discards, rate, duplex/speed, last input/output

Healthy: State and counters align with expected traffic and physical conditions.

Warning: CRC/input errors, drops, resets, queue drops or unexpected negotiation.

Does not prove: An interface counter is a symptom until correlated with path/time/workload.

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 and output interpretation Verify boundary

Use interface brief/detail to confirm the SVI is administratively and operationally up with the intended address. Verify the VLAN exists and has active forwarding membership, then inspect the routing table for the connected subnet and CEF for representative destinations. ARP/ND entries demonstrate actual neighbor interaction on the VLAN, while pinging the SVI from an endpoint validates more of the local gateway path. If the SVI is up but inter-subnet communication fails, continue with routing, ACL/policy and return-path evidence rather than treating the SVI state as end-to-end evidence. If the SVI is down/down or up/down, inspect the VLAN and active member/trunk state rather than only the Layer-3 configuration.

Step 2 Why an SVI can stay down Narrow the fault

On common Cisco campus switches, an SVI line protocol depends on the associated VLAN being active and having an operational Layer 2 path/member according to platform autostate rules. Check VLAN existence and active switchports/trunks before repeatedly toggling no shutdown.

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.

command output · 1
Command lookup Jump straight to Cisco syntax
Key points

An SVI is up/up only if the VLAN exists and at least one port in that VLAN (access or trunk, forwarding in STP) is up. no shutdown is needed. On a Layer 3 switch, ip routing must be enabled for traffic to be routed between SVIs.

Key checks
  • show ip interface brief | include Vlan — SVI status and address.
  • show interfaces vlan <id> — line protocol and why it is down.
  • show vlan brief — VLAN exists with active ports.
  • show interfaces trunk — VLAN forwarding on a trunk.
  • show ip arp vlan <id> — hosts resolved on the SVI.
ReferenceImportant terms & boundaries5 sections · depth on demand

Key points

An SVI can be administratively enabled yet have its line protocol down when the associated VLAN is not operational on the switch. ip routing is required for the switch to route between Layer 3 interfaces on common IOS/IOS XE multilayer designs.

In depth

An SVI is a routed interface for a VLAN

The Catalyst 9300 interface guide describes a switch virtual interface (SVI) as representing a VLAN of switch ports as one interface to the routing function. Only one SVI can be associated with a VLAN. Configure one only to route between VLANs or to give the switch IP connectivity. An SVI for VLAN 1 exists by default and can't be deleted.

C9300(config)# ip routing
C9300(config)# interface Vlan20
C9300(config-if)# description USERS gateway
C9300(config-if)# ip address 10.20.0.1 255.255.255.0
C9300(config-if)# ip helper-address 10.10.50.20
C9300(config-if)# no shutdown
C9300# show ip interface brief | include Vlan
Vlan1                  unassigned      YES unset  administratively down down
Vlan20                 10.20.0.1       YES manual up                    up
Vlan30                 10.30.0.1       YES manual up                    down

Documented behaviour

TopicDetail
CreationThe first interface vlan <id> creates the SVI; no interface vlan <id> deletes it
Rangesinterface range create vlan x-y creates missing VLANs in a range
ActivationAn SVI isn't active until it is associated with a physical port
Autostateswitchport autostate exclude on a Layer 2 port excludes it from the SVI line state; no autostate on the SVI disables it
MAC addressSVI MAC addresses don't change after a reload
ScaleThe guide lists a total of 1005 VLANs and SVIs
LicensingNetwork Essentials supports only static routing and RIP; dynamic protocols need Network Advantage

Why an SVI shows up/down

Vlan30 … up down above is the autostate result. The SVI is up administratively, but no port in VLAN 30 is up and forwarding, so line protocol stays down and its connected route is withdrawn.

CauseFix
No access ports in the VLAN are connectedExpected; comes up when a host connects
The VLAN isn't allowed on any up trunkAdd it to the trunk allowed list
The VLAN doesn't exist in the VLAN databaseCreate it with vlan <id>
The only port is a monitoring or SPAN portUse switchport autostate exclude on that port

SVI versus routed port

Use an SVI when several ports share the subnet. Use a routed port (no switchport) for a point-to-point link to another router.

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 (Switched Virtual Interface) is a virtual Layer 3 interface for a VLAN on a switch, usually the default gateway for hosts in that VLAN. It is up only when the VLAN exists and at least one port in the VLAN (or a trunk carrying it) is up and forwarding.

ip routing
interface Vlan20
 ip address 10.20.0.1 255.255.255.0
 no shutdown

Documented example, not captured output.

SVI down reasonFix
VLAN not createdvlan 20
No active port in VLANConnect/enable a port or allow on a trunk
Shutdownno shutdown
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

State model and protocol mechanics

A Switched Virtual Interface represents Layer-3 termination for a VLAN on a multilayer switch. The SVI has an IP address and can originate/receive routed traffic for that subnet while the underlying VLAN remains the Layer-2 broadcast domain. The interface's line protocol is influenced by VLAN operational state and the presence of at least one eligible active Layer-2 port for that VLAN according to platform behavior and autostate rules. Endpoints typically ARP or use IPv6 Neighbor Discovery for the SVI address as their default gateway, after which routed forwarding uses the switch's RIB and CEF. The SVI is therefore the transition point between MAC/VLAN forwarding and IP routing. Multiple SVIs create multiple routed VLAN interfaces but do not by themselves define security policy between those subnets.

Limits and common misconceptions

An SVI being up/up shows the logical gateway interface is operational, not that every access port in the VLAN works or that remote networks are reachable. The connected route shows the subnet is locally attached but not that a specific endpoint exists. VLAN creation and SVI creation are distinct operations; either can exist without the other providing useful forwarding. First-hop redundancy can also make a virtual gateway address differ from the SVI's physical address, so endpoint default-gateway behavior may depend on HSRP/VRRP state. Keep VLAN state, SVI state, neighbor resolution, routing and security policy separate.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Create the VLAN first, then configure the SVI with intentional IP addressing and enable it administratively. If the switch performs routing, ensure IP routing is enabled and that upstream/default/dynamic routes are present as required. Keep HSRP/VRRP, ACLs, DHCP relay and policy features conceptually separate even though they may attach to the same SVI. Use consistent subnet sizing and gateway conventions so endpoint configuration remains predictable. If an SVI is used only for management rather than user routing, document that scope and the management-plane policy that protects it. Avoid assuming an SVI becomes operational merely because no shutdown is present; the associated VLAN's Layer-2 state still matters.

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 Switching → VLAN → 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%
Embedded reference data

Quick lookup tables

SVI operational state map

Fast interpretation of common SVI states.

ObservationLikely boundaryNext check
administratively downLocal SVI shutdownno shutdown if design intends enablement
up/down or down/down with config presentVLAN/autostate/Layer 2 operational stateVLAN existence + active member/trunk
up/up, host cannot reach gatewayDownstream L2/ARP/ACL/addressingaccess VLAN, MAC/ARP, subnet
gateway reachable, remote VLAN failsLayer 3 route/return pathshow ip route + destination VLAN

SVI · operational reference

Compact state and interpretation boundaries for fast lookup.

SVI layerCanonical evidence
VLANVLAN active/present
SVIInterface up/up + IP
NeighborARP/ND entries
RoutingConnected route + CEF
Confirmation

Confirm action

Continue?