SVI Configuration Example

switch-virtual-interfaces-ipcisco

Switch Virtual Interface Configuration on Packet Tracer

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.

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

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 :	10.0.0.2	255.255.255.0		GW: 10.0.0.1
PC1 :	10.0.0.3	255.255.255.0		GW: 10.0.0.1
PC2 :	20.0.0.2	255.255.255.0		GW: 20.0.0.1
PC3 :	20.0.0.3	255.255.255.0		GW: 20.0.0.1

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.

We're Sorry!

Full Access is for only IPCisco Crew...

With IPCisco Membership, You Can Access:

• All Certification Courses (Cisco, Juniper, Nokia and Huawei),
• Thousands of Questions (Lesson Quizes and Special Quiz Section),
• Carieer Consultancy, CV/Resume Check, Career Advice Meeting,
• Cheat Sheets, Job Interview Trainings, Network Tools,
You will be Member of a Big IPCisco Community,
You will Learn Network Lessons with Always,
New And Different Learning Styles!
We are waiting for you!

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

CCIE