Pcornel
Networking · Architecture

Switching Mechanisms

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

Back to the Topic

Answer

Process switching, fast switching and Cisco Express Forwarding concepts and why modern forwarding separates control-plane learning from data-plane lookup.

Remember

  • Process switching handles each packet in software on the CPU.
  • CEF uses a FIB and adjacency table built in advance for fast forwarding.
  • Hardware switching uses ASICs and TCAM.

First checks

  • show ip cef switching statistics — CEF counters
  • show interfaces stats — process vs fast switched

Verify in this order

packet → CEF lookup (hardware/software) → forward; exceptions → process switch

Where it usually breaks

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

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

Confirmation

Confirm action

Continue?