Switch Virtual Interface Configuration on Packet Tracer

switch-virtual-interfaces-ipcisco

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 :	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.





Lesson tags: SVI, VLANs, inter vlan routing
Back to: CCNA 200-301 > Routing Fundamentals

Leave a Reply

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

CCNA 200-301

Collapse
Expand