Networking · Network Devices › Layer 3 Switch
Routing
Cheat sheet · https://pcornel.dk/topic.php?topic=860
Answer
A Layer 3 switch routes between its SVIs and routed ports in hardware once ip routing is enabled, and can run static routes, OSPF, EIGRP or BGP.
Remember
- Layer 3 switches run routing protocols like routers.
- They route between SVIs and routed ports in hardware.
- Enable with
ip routing.
First checks
show ip route— routesshow ip protocols— routing protocols running
Commands
ip routingshow ip routeshow ip interface briefshow platform hardware fed switch active fwd-asic resource tcam utilizationshow vlan brief
Verify in this order
routing protocols → RIB → hardware FIB
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=860