Pcornel
Networking · Network Devices › Layer 3 Switch

Routing

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

Back to the Topic

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 — routes
  • show ip protocols — routing protocols running

Commands

ip routing
show ip route
show ip interface brief
show platform hardware fed switch active fwd-asic resource tcam utilization
show 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

Confirmation

Confirm action

Continue?