CEF does the switching of the packet based on the routing table which is being populated by the routing protocols such as EIGRP, DÉCHIRER, Ouvrez le chemin le plus court en premier (OSPF), and so forth. CEF does the load-balancing once the routing protocol table has been calculated. For more details on load balancing, refer to How does load-balancing work?