Pcornel
Networking · Network Devices

Layer 3 Switch

Cheat sheet · https://pcornel.dk/topic.php?topic=541

Back to the Topic

Answer

A Layer 3 switch switches within VLANs and also routes between them in hardware, using SVIs or routed ports, and can run routing protocols like a router.

Remember

  • A Layer 3 switch combines switching and routing in hardware.
  • It routes between VLANs using SVIs or routed ports.
  • Common at distribution and core layers.

First checks

  • show ip interface brief — SVIs and routed ports
  • show ip route — routing table
  • show sdm prefer — template

Commands

show ip route
IPv4 RIB routes and selected next hops.
ip routing
Enable IPv4 routing on a Layer 3 switch.

Verify in this order

VLAN/SVI or routed port → hardware routing → forward

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Layer 3 Switch · operational reference

BoundaryEvidence
VLAN/MACLayer 2
SVI/routed portLayer 3 attachment
RIBRoute choice
CEFProgrammed forwarding

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=541

Confirmation

Confirm action

Continue?