Networking · Architecture
Switching Mechanisms
Cheat sheet · https://pcornel.dk/topic.php?topic=34
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 countersshow 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