Use it when hosts cannot reach their gateway, or an SVI stays down.
SVI · VLAN
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.
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?
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
Operational reference
Fast context before you go deeper.
interface vlan <id>Primary Commands
Configuration and operational commands for this Topic.
interface vlan <id>ReferenceCreate or enter a switched virtual interface (SVI) for a VLAN.
Use when: Create/enter an SVI for management or routed gateway presence in a VLAN.
Quick note: Verify VLAN operational state and SVI line protocol.
Cisco IOS / IOS XE · mixedip address <address> <mask>ReferenceAssign an IPv4 address and mask to an interface.
Use when: Use this command at the GRE Tunnels boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. An up tunnel interface does not prove overlay routing, MTU safety or application reachability.
Cisco IOS / IOS XE · mixedipv6 address <prefix>/<length>ReferenceAssign a static IPv6 address and prefix length.
Use when: Use at the IPv6 Fundamentals and Addressing boundary after prerequisite state is verified.
Quick note: Operational guidance. A configured global address does not prove neighbor discovery, a default route, DNS or upstream return routing.
Cisco IOS / IOS XE · mixedno shutdownConfigureEnable an administratively shut down interface.
Use when: Use at the Copper, Fiber and Ethernet Physical Links boundary after prerequisite state is verified.
Quick note: Operational guidance. Link-up does not prove clean signal, correct duplex, sufficient optical margin or loss-free forwarding under load.
Cisco IOS / IOS XE · mixedip routingReferenceEnable IPv4 routing on a Layer 3 switch.
Use when: Use at the Network Devices and PoE boundary after prerequisite state is verified.
Quick note: Operational guidance. A device being reachable does not prove the correct forwarding table, policy session, wireless data path or delivered PoE budget.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show interfaces vlan <id>ReferenceDisplay the status of an SVI.
Use when: Verify whether an SVI is actually operational, especially when inter-VLAN routing or management fails.
Quick note: If SVI line protocol is down, inspect VLAN existence and active Layer 2 member/trunk state.
Cisco IOS / IOS XE · mixedshow ip interface briefShowCompact IPv4 interface/address/protocol state.
Use when: Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.
Quick note: Restores exact/ ownership only; this authored guidance is not observed production Evidence.
Cisco IOS XE · stateHow 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.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
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.
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
| Topic | Detail |
|---|---|
| Creation | The first interface vlan <id> creates the SVI; no interface vlan <id> deletes it |
| Ranges | interface range create vlan x-y creates missing VLANs in a range |
| Activation | An SVI isn't active until it is associated with a physical port |
| Autostate | switchport autostate exclude on a Layer 2 port excludes it from the SVI line state; no autostate on the SVI disables it |
| MAC address | SVI MAC addresses don't change after a reload |
| Scale | The guide lists a total of 1005 VLANs and SVIs |
| Licensing | Network 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.
| Cause | Fix |
|---|---|
| No access ports in the VLAN are connected | Expected; comes up when a host connects |
| The VLAN isn't allowed on any up trunk | Add it to the trunk allowed list |
| The VLAN doesn't exist in the VLAN database | Create it with vlan <id> |
| The only port is a monitoring or SPAN port | Use 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.
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 reason | Fix |
|---|---|
| VLAN not created | vlan 20 |
| No active port in VLAN | Connect/enable a port or allow on a trunk |
| Shutdown | no shutdown |
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%Quick lookup tables
SVI operational state map
Fast interpretation of common SVI states.
| Observation | Likely boundary | Next check |
|---|---|---|
| administratively down | Local SVI shutdown | no shutdown if design intends enablement |
| up/down or down/down with config present | VLAN/autostate/Layer 2 operational state | VLAN existence + active member/trunk |
| up/up, host cannot reach gateway | Downstream L2/ARP/ACL/addressing | access VLAN, MAC/ARP, subnet |
| gateway reachable, remote VLAN fails | Layer 3 route/return path | show ip route + destination VLAN |
SVI · operational reference
Compact state and interpretation boundaries for fast lookup.
| SVI layer | Canonical evidence |
|---|---|
| VLAN | VLAN active/present |
| SVI | Interface up/up + IP |
| Neighbor | ARP/ND entries |
| Routing | Connected route + CEF |