Networking · Network Devices
Layer 3 Switch
Cheat sheet · https://pcornel.dk/topic.php?topic=541
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 portsshow ip route— routing tableshow 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
| Boundary | Evidence |
|---|---|
| VLAN/MAC | Layer 2 |
| SVI/routed port | Layer 3 attachment |
| RIB | Route choice |
| CEF | Programmed forwarding |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=541