Layer 3 Switching Explained: SVI vs Routed Port – Complete CCNP Guide

Layer 3 Switching Explained: SVI vs Routed Port – Complete CCNP Guide
Networking ATN Campus November 25, 2026 2 views

Layer 3 Switching Explained: SVI vs Routed Port – Complete CCNP Guide

Layer 3 switching allows Cisco switches to perform routing between networks using hardware-based forwarding. Modern multilayer switches can perform both Layer 2 switching and Layer 3 routing, making them essential components of enterprise networks.

Two important Layer 3 interface types used on Cisco multilayer switches are Switched Virtual Interfaces (SVIs) and Routed Ports. Although both interfaces can have IP addresses and route traffic, they serve different purposes.

In this CCNP guide, you will learn what Layer 3 switching is, how SVIs and routed ports work, their differences, Cisco configurations, verification commands, and troubleshooting techniques.

1. What is Layer 3 Switching?

Layer 3 switching combines Layer 2 switching and Layer 3 routing capabilities in a switch.

A traditional Layer 2 switch forwards frames using MAC Addresses. A router forwards packets using IP Addresses. A multilayer switch can perform both operations.

Layer 2 switching

  • Forwarding based on MAC Addresses.
  • Operates within VLANs.
  • Uses a MAC Address table.
  • Does not perform IP routing by default.

Layer 3 switching

  • Routes packets between IP networks.
  • Uses routing tables.
  • Supports static routing and dynamic routing protocols on supported platforms.
  • Can route between VLANs.
  • Supports hardware-based forwarding on suitable multilayer switches.

2. What is a Multilayer Switch?

A multilayer switch is a switch that supports both Layer 2 switching and Layer 3 routing.

It can:

  • Forward Ethernet frames.
  • Create VLANs.
  • Configure SVIs.
  • Route between VLANs.
  • Configure routed physical interfaces.
  • Configure Layer 3 EtherChannels.
  • Support routing protocols depending on the platform and software.

3. What is an SVI?

A Switched Virtual Interface (SVI) is a virtual Layer 3 interface associated with a VLAN.

An SVI provides an IP gateway for devices in a VLAN and can enable routing between VLANs when routing is enabled on the multilayer switch.

Example:

VLAN 10 - Sales
VLAN 20 - IT

Multilayer Switch

VLAN 10 SVI: 192.168.10.1
VLAN 20 SVI: 192.168.20.1

Devices in VLAN 10 can communicate with devices in VLAN 20 through the multilayer switch when the interfaces and routing are configured correctly.

4. Configure Inter-VLAN Routing Using SVIs

Lab topology

        PC1                         PC2
         |                           |
      VLAN 10                     VLAN 20
         |                           |
         +------ Multilayer Switch ---+

PC1 Network: 192.168.10.0/24
PC2 Network: 192.168.20.0/24

IP Addressing

Device IP Address VLAN
PC1192.168.10.10/2410
PC2192.168.20.10/2420
Switch SVI192.168.10.1/2410
Switch SVI192.168.20.1/2420

Step 1: Create VLANs

SW1(config)# vlan 10
SW1(config-vlan)# name SALES
SW1(config-vlan)# exit

SW1(config)# vlan 20
SW1(config-vlan)# name IT
SW1(config-vlan)# exit

Step 2: Configure access ports

SW1(config)# interface gigabitEthernet 0/1
SW1(config-if)# switchport mode access
SW1(config-if)# switchport access vlan 10
SW1(config-if)# no shutdown
SW1(config-if)# exit

SW1(config)# interface gigabitEthernet 0/2
SW1(config-if)# switchport mode access
SW1(config-if)# switchport access vlan 20
SW1(config-if)# no shutdown
SW1(config-if)# exit

Step 3: Enable IP routing

SW1(config)# ip routing

This enables Layer 3 routing on supported multilayer switches.

Step 4: Configure VLAN 10 SVI

SW1(config)# interface vlan 10
SW1(config-if)# ip address 192.168.10.1 255.255.255.0
SW1(config-if)# no shutdown

Step 5: Configure VLAN 20 SVI

SW1(config)# interface vlan 20
SW1(config-if)# ip address 192.168.20.1 255.255.255.0
SW1(config-if)# no shutdown

Step 6: Configure PC IP Addresses

PC1:

IP Address: 192.168.10.10
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.10.1

PC2:

IP Address: 192.168.20.10
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.20.1

Step 7: Test connectivity

From PC1:

ping 192.168.20.10

PC1 should be able to communicate with PC2 if the configuration is correct and the network is operational.

5. What is a Routed Port?

A routed port is a physical switch interface configured to operate as a Layer 3 interface rather than a Layer 2 switchport.

Unlike an SVI, a routed port is not associated with a VLAN for Layer 2 switching.

A routed port can be configured with an IP address and used to connect to another router or multilayer switch.

Routed ports are commonly used for:

  • Point-to-point links between multilayer switches.
  • Links between a multilayer switch and a router.
  • Layer 3 uplinks.
  • Routing protocol adjacencies.
  • Layer 3 EtherChannels.

6. Configure a Routed Port

Lab topology

     Multilayer Switch SW1
              |
        Routed Link
              |
          Router R1

SW1: 10.0.0.1/30
R1:  10.0.0.2/30

Step 1: Configure the switch routed port

SW1(config)# interface gigabitEthernet 0/3
SW1(config-if)# no switchport
SW1(config-if)# ip address 10.0.0.1 255.255.255.252
SW1(config-if)# no shutdown

The no switchport command changes the interface from Layer 2 switchport operation to Layer 3 routed-port operation on platforms that support this command.

Step 2: Configure the router interface

R1(config)# interface gigabitEthernet 0/0
R1(config-if)# ip address 10.0.0.2 255.255.255.252
R1(config-if)# no shutdown

Step 3: Verify connectivity

SW1# ping 10.0.0.2

7. SVI vs Routed Port

Feature SVI Routed Port
Interface TypeVirtual Layer 3 interfacePhysical Layer 3 interface
Associated with VLANYesNo Layer 2 VLAN association
Typical PurposeInter-VLAN routing and VLAN gatewayRouting between switches, routers, or Layer 3 devices
IP AddressConfigured on VLAN interfaceConfigured on physical interface
Layer 2 Port MembershipVLAN members support SVI operationPhysical interface is converted using no switchport
Common UseVLAN gatewayPoint-to-point uplink
Routing ProtocolsSupported on suitable platformsSupported on suitable platforms

8. SVI Troubleshooting

Problem 1: SVI is down

Possible causes:

  • VLAN does not exist.
  • No active Layer 2 ports belong to the VLAN.
  • Ports belonging to the VLAN are not operational.
  • VLAN is not allowed on relevant trunks.
  • SVI is administratively shut down.

Verification:

show ip interface brief
show vlan brief
show interfaces trunk
show interfaces vlan 10

On many Cisco platforms, an SVI's operational state depends on the VLAN existing and at least one eligible Layer 2 port in the VLAN being active and in an appropriate forwarding state. Exact SVI autostate behavior varies by platform and configuration.

Problem 2: VLANs cannot communicate

Possible causes:

  • IP routing is not enabled.
  • Incorrect SVI IP Address.
  • Incorrect PC default gateway.
  • VLAN membership is incorrect.
  • Interface or VLAN is down.

Verification:

show ip route
show ip interface brief
show vlan brief
show running-config

9. Routed Port Troubleshooting

Problem 1: Routed port is down

Possible causes:

  • Physical cable issue.
  • Interface shutdown.
  • Incorrect speed or duplex settings.
  • Remote interface is down.

Verification:

show interfaces status
show ip interface brief
show interfaces gigabitEthernet 0/3

Problem 2: Cannot ping the remote routed interface

Possible causes:

  • Incorrect IP address.
  • Incorrect subnet mask.
  • Physical interface is down.
  • Remote interface is not configured correctly.

Verification:

show ip interface brief
show running-config
ping 10.0.0.2

10. Layer 3 Switching Best Practices

  • Use SVIs for VLAN gateways and inter-VLAN routing.
  • Use routed ports for point-to-point Layer 3 connections where appropriate.
  • Enable IP routing when the switch is intended to route packets.
  • Use appropriate IP addressing and subnetting.
  • Document VLANs and Layer 3 links.
  • Use routing protocols or static routing as required by the network design.
  • Verify SVI and routed-port status before troubleshooting routing protocols.
  • Use access controls to protect management and sensitive network traffic.
  • Confirm feature support on the actual switch platform.

11. Frequently Asked Questions

Q1. What is an SVI?

An SVI is a virtual Layer 3 interface associated with a VLAN. It is commonly used as the default gateway for devices in that VLAN.

Q2. What is a routed port?

A routed port is a physical switch interface configured to operate at Layer 3 using the no switchport command on supported Cisco platforms.

Q3. What is the difference between an SVI and a routed port?

An SVI is associated with a VLAN and provides a virtual Layer 3 interface. A routed port is a physical interface that operates directly at Layer 3.

Q4. Why do we use ip routing?

The ip routing command enables Layer 3 routing on supported multilayer switches, allowing the switch to route packets between connected and other known networks.

Q5. Can a Layer 2 switch configure SVIs?

Some Layer 2 switches support limited SVIs for management purposes. However, full inter-VLAN routing requires a switch that supports the required Layer 3 routing functionality.

Q6. Can a routed port belong to a VLAN?

A routed port does not operate as a Layer 2 switchport or carry VLAN membership in the same manner as a Layer 2 access or trunk port.

12. CCNP Layer 3 Switching Lab Challenge

Complete the following lab:

  • Create VLAN 10 and VLAN 20.
  • Configure an SVI for each VLAN.
  • Enable IP routing.
  • Configure two PCs in separate VLANs.
  • Test inter-VLAN routing.
  • Configure a routed port between the multilayer switch and a router.
  • Assign a /30 IP addressing scheme to the routed link.
  • Verify the routed-port connectivity.
  • Identify the difference between the SVI and routed-port interfaces.
  • Troubleshoot an SVI that is administratively down.
  • Troubleshoot a routed port with an incorrect IP address.

Conclusion

Layer 3 switching is a fundamental technology in modern enterprise networks. Multilayer switches provide both Layer 2 switching and Layer 3 routing capabilities.

SVIs are commonly used for VLAN gateways and inter-VLAN routing, while routed ports provide physical Layer 3 connectivity between network devices.

Understanding the differences between these interfaces, configuring them correctly, and using verification commands are important skills for CCNP-level networking.

Want to learn CCNA, CCNP, Cybersecurity, AWS, Python and other IT courses?

Visit ATN Campus and explore professional IT training programs.

Document ATN CAMPUS