Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

OSPF

is any difference between "ip cef" & "ip load-sharing per-packet" ?

3 REPLIES

Re: OSPF

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

New Member

Re: OSPF

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"

http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_configuration_guide_chapter09186a00800ca6ca.html

Did this help? Then please rate it.

Martin

97
Views
3
Helpful
3
Replies