Vol. I · No. 46The hardware sectionSat, 10 Oct 2026
Layer 2 / 3 · Multilayer device

Layer-3 Switch

the multilayer switch

A layer-3 switch switches frames at wire speed and routes between VLANs like a router. It forwards locally by MAC, routes between subnets by IP, and does both in hardware — the campus network’s workhorse.

A layer-3 switch switches within VLANs and routes between them — routing at switching speed.

Operates at
Layer 2 & 3
switch + router
Forwards by
MAC or IP
whichever fits
Speed
Hardware
wire-speed routing
Typical use
Campus core
inter-VLAN

How it works

Switching inside a VLAN, routing between them
VLAN 10
10.0.10.0/24
one subnet
frame in
L3 Switch
switch + route
in silicon
switched or routed
VLAN 20
10.0.20.0/24
another subnet
Switch it or route it?
same VLANswitch by MAC
different VLAN ← matchroute by IP

Within a VLAN it behaves as a switch, forwarding by MAC. When traffic must cross VLANs it routes by IP — all in hardware, so there’s no router bottleneck between subnets.

The main points

What a layer-3 switch does, step by step

1
Receive the frame

A frame arrives on one of the ports.

2
Same VLAN? switch it

If the destination is in the same VLAN, forward by MAC as usual.

3
Different subnet? route it

If it must cross VLANs, look up the destination IP and pick the egress VLAN.

4
Forward in hardware

A dedicated ASIC does the lookup and forwarding at line rate.

In cybersecurity

It’s a routing choke point inside the campus, so it enforces segmentation — and misconfigured, it can bridge networks that shouldn’t meet.

VLAN segmentation

Separate trust zones cleanly by subnet.

Inter-VLAN ACLs

Filter exactly what is allowed to cross between VLANs.

VLAN hopping

Guard against double-tagging and trunk-negotiation attacks.

Control-plane protection

Secure the routing adjacencies it forms.

Management plane

Lock down administrative access tightly.

Consistent policy

Its rules must match the perimeter router’s.

Protocols it runs

IPv4OSPF802.1QIPv6

Sits beside

SwitchRouter

On the bench

Layer-3 Switch — Multilayer switch