01-07-2006 02:21 AM - edited 03-03-2019 11:23 AM
is any difference between "ip cef" & "ip load-sharing per-packet" ?
01-07-2006 02:48 AM
HI Parvinder,
Yes there is a difference between the two.
Per packet load balancing disables the forwarding acceleration by a route cache, as the route cache information includes the outgoing interface. For per-packet load balancing the forwarding process determines the outgoing interface for each packet by looking up the route table and picking the least used interface. This ensures equal utilization of the links, but is a processor intensive task and impacts the overall forwarding performance.
The design of Cisco Express Forwarding includes enhancements that allow to use load balancing without sacrificing forwarding performance even when using per packet load balancing. Previously per packet load balancing required disabling of route-caching mechanisms like fast switching or optimum switching.
So CEF switching does not compromise on performance.
HTH
Ankur
01-07-2006 02:48 AM
01-07-2006 02:49 AM
Hi,
the command "ip cef" activates CEF in a router whereas "ip load-sharing per-packet" changes the CEF load sharing behaviour on an interface from the default "per-destination" to "per-packet".
Have a look at f.e. "Configuring Cisco Express Forwarding"
Did this help? Then please rate it.
Martin
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide