Cyber Code Academy
Tutorials Academy Courses
Home / CCA-CCNP-Enterprise-Tutorials / Inter-VLAN Routing and SVIs

Inter-VLAN Routing and SVIs

Routing between VLANs

A multilayer switch can route between VLANs using switched virtual interfaces (SVIs). Each SVI usually acts as the default gateway for hosts in that VLAN. The VLAN must exist and be active, and an SVI generally needs an active Layer 2 port in that VLAN to come up.

ip routing
interface vlan 10
 ip address 192.168.10.1 255.255.255.0
 no shutdown
interface vlan 20
 ip address 192.168.20.1 255.255.255.0
 no shutdown

Verify with show ip interface brief, show ip route connected, and host default-gateway settings.

Quick revision

  • Explain the concept in your own words.
  • Run the relevant verification commands in a lab.
  • Record one common failure and how you would isolate it.

Want to learn this professionally?

Explore practical IT training at Cyber Code Academy.

View Academy Courses