CCNP ENCOR Certification Cram Notes : Architecture
1.7 Differentiate hardware and software switching mechanisms
1.7.a Process and CEF
Process switching is a software-based switching mechanism that involves forwarding packets through the router's CPU. In this method, each packet is examined and analyzed by the router's processor before forwarding it to the next hop. Process switching is a slow and resource-intensive method that is only used for low-speed links.
Cisco Express Forwarding (CEF) is a hardware-based switching mechanism that involves forwarding packets through the router's specialized ASICs (Application-Specific Integrated Circuits). In this method, each packet is analyzed and forwarded based on the pre-built CEF table. CEF is a faster and more efficient method than process switching, and it is used for high-speed links.
1.7.b MAC address table and TCAM
A MAC address table is a hardware-based table that stores the MAC addresses of devices connected to a switch. When a packet arrives at a switch, the switch checks its MAC address table to determine the port to which the packet should be forwarded. The MAC address table is updated dynamically as devices connect or disconnect from the switch.
Ternary Content Addressable Memory (TCAM) is a specialized hardware component that is used to store and search routing information. TCAM is used for high-speed lookups and can quickly determine the next hop for a packet. It is commonly used in routers and switches to perform forwarding decisions.
1.7.c FIB vs. RIB
The Forwarding Information Base (FIB) and Routing Information Base (RIB) are two components of a router's forwarding plane. The FIB is a hardware-based table that stores the forwarding information for each network, including the next hop and outgoing interface. The FIB is used to perform fast packet forwarding and is updated dynamically as the routing protocol updates the RIB.