SVI - Switched Virtual Interface

An SVI (Switched Virtual Interface) is a logical interface on a switch used to enable Layer 3 communication within a VLAN.

Network Diagram

Overview

A Switched Virtual Interface (SVI) is a logical (virtual) interface in a Layer-3 switch that enables routing capabilities for a specific VLAN, allowing the switch to perform routing between different VLANs.

Key Points:

  1. Inter-VLAN Routing: SVIs act as a virtual Layer-3 interface for each VLAN, allowing for routing between VLANs within the same switch. Instead of using an external router (router-on-a-stick configuration), SVIs can route traffic directly inside the switch.
  2. Single VLAN Association: Each SVI is linked to a specific VLAN. You can create multiple SVIs on a Layer-3 switch, one for each VLAN.
  3. IP Address Assignment: Each SVI is assigned an IP address, which is used as the default gateway for devices within that VLAN. This IP address must not overlap with any other interfaces on the switch.
  4. SVIs on Layer-3 Switches: SVIs are mainly found on Layer-3 switches.
  5. Switch Management: An SVI can be used to manage the switch by assigning an IP address to the VLAN used for management traffic (like the default VLAN).

Requirements

For an SVI to come up, the following requirements must be met:

  • The SVI must have a IP address that does not overlap with any other interfaces
  • The VLAN assigned must be in Active state
  • For the VLAN to be in Active state, one of two conditions must be met:
      1. An access port assigned to that VLAN
      2. A trunk port allowing traffic for that VLAN

Configuration

⚠️
Configuring an SVI does not auto-create a VLAN. This must be done separately, preferably before configuring the SVI.

interface vlan 10

  description SVI for VLAN10

  ip address 192.168.10.10 255.255.255.0

  no shutdown

Command

Explanation

interface vlan [id]

Enters configurations for SVI of specified VLAN

description [description]

Adds description for user readability

ip address [ip address] [mask]

Assigns IP address and subnet mask to SVI. 

Must be non-overlapping.

no shutdown

Brings up SVI.

Verification

show ip interface brief
show interface description
show vlan brief

SVI - Switched Virtual Interface
Switched Virtual Interface Table of Contents SVI - Switched Virtual Interface 1 What is an SVI? 1 Key Features of an SVI: 1 Use Cases for SVIs: 3 Summary: 3 SVI Requirements 4 SVI Configuration 5 SVI Verification 6 SVI Network Diagram Overview A Switched Virtual Interface (SVI) is a l…
Tech Directory
About the author

Arapi Tech

Networking + DevOps + Programming

Arapi Tech Blog

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to Arapi Tech Blog.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.