SVI Configuration Example


Theorically switches work in Layer 2 (Layer 2 switches). When you talk about switches, generally you do not think IP addresses. One of the ways that make a switch IP available is, configuring Switch Virtual Interfaces (SVI). Switch Virtual Interfaces (SVI) is basically, an IP assigned VLAN, an interface for that VLAN. Here, we will see SVI in Cisco, Cisco SVI Configuration.

You can DOWNLOAD the Cisco Packet Tracer example with .pkt format At the End of This Lessons.

You can also DOWNLOAD all the Packet Tracer examples with .pkt format in Packet Tracer Labs section.

Here, the important point is the switch type. If the switch is layer 2 switch, then you can configure one Switch Virtual Interface (SVI). But, in Multilayer switches, you can configure Switch Virtual Interfaces (SVI).

In this Switch Virtual Interfaces (SVI) Packet Tracer example, we will use a Multi Layer Switch and we will create two VLANs. In each VLAN, we will use 2 PCs. And in our Switch Virtual Interfaces (SVI) configuration, we will use two SVIs. After this configuration, Inter VLAN Routing will work and different VLANs can communicate.

Switch Virtual Interfaces (SVI)

Switch Virtual Interfaces (SVI)
Now, it is time to Switch Virtual Interface (SVI) configuration.

Let’s start with PC ip addresses. We will use the below IP addresses on these PCs. We will also configure the Gateway addresses of these PCs. The Gateway addresses are the addresses that we will configure as address of our Switch Virtual Interfaces (SVI).

PC0 :		GW:
PC1 :		GW:
PC2 :		GW:
PC3 :		GW:

On Muti Layer switch, we will create VLANs and we will assign the ports to these VLANs.

MLSwitch (config-vlan) # vlan 2
MLSwitch (config-vlan) # vlan 3
MLSwitch (config-vlan) # exit
MLSwitch (config) # interface range fastEthernet 0/1-2
MLSwitch (config-if-range) # switchport mode access
MLSwitch (config-if-range) # switchport access vlan 2
MLSwitch (config-if-range) # exit


MLSwitch (config) # interface range fastEthernet 0/3-4
MLSwitch (config-if-range) # switchport mode access
MLSwitch (config-if-range) # switchport access vlan 3
MLSwitch (config-if-range) # exit

VLAN configurations of our Switch Virtual Interface (SVI) topology is OK now.Let’s verify our VLANs.

Lesson tags: SVI, VLANs, inter vlan routing
Back to: CCIE Enterprise Infrastructure > Inter VLAN Routing

Leave a Reply

Your email address will not be published. Required fields are marked *

IPCisco is the Winner of 2019 “Best Certification Study Journey” Category! We are also Finalist of 2020 & 2021 in Cisco IT Blog Awards!


CCIE Enterprise Infrastructure

IPCisco on Social Media!