Cisco Express Forwarding Redundancy

Hi,

I have a quick question.  Does CEF support redundancy being that it is designed for load balancing.  The design that we are going to use is CEF in distribution mode (our l3 switch only support that).  If so, how does it work

Thank you for your help in advance
thomasm1948Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JustInCaseCommented:
It is supported. Link with details

Load Balancing with CEF
0
thomasm1948Author Commented:
From the document, it seems that it does it automatically once I enable CEF.  Is that correct
0
JustInCaseCommented:
Cisco Express Forwarding (CEF) is an advanced Layer 3 switching technology which can be used for load balancing in routers. By default, CEF uses per-destination load balancing. If it is enabled on an interface, per-destination load balancing forwards packets based on the path to reach the destination. If two or more parallel paths exist for a destination, CEF takes the same path (single path) and avoids the parallel paths. This is a result of the default behavior of CEF. CEF takes the single path in cases when load sharing is done simultaneously on interfaces of different physical types, such as serial and tunnel. The hash algorithm determines the path to be chosen. In order to utilize all the parallel paths in CEF and load balance the traffic, you must enable per-packet load balancing when you have different physical interfaces like serial and tunnel. So, on the basis of the configuration and topology (serial or tunnel), load sharing can fail to work correctly with the default CEF load balancing mode.

Enable these commands for load sharing on a per-packet basis:

    configure terminal
    interface serial 0
    ip load-sharing per-packet
0
Get Certified for a Job in Cybersecurity

Want an exciting career in an emerging field? Earn your MS in Cybersecurity and get certified in ethical hacking or computer forensic investigation. WGU’s MSCSIA degree program was designed to meet the most recent U.S. Department of Homeland Security (DHS) and NSA guidelines.  

thomasm1948Author Commented:
our switch doesn't support per packet
0
JustInCaseCommented:
In that case
If you have a single source sending to a single destination, then the default load balancing of CEF will not produce much load balancing. But if you have multiple sources sending to multiple destinations, then the default load balancing of CEF is likely to produce pretty good load balancing without doing anything fancy.
0
thomasm1948Author Commented:
That does make sense.  The main concern is to ensure if one line goes down then those computers on that route will go out from the line that is still up.

Also would they fail back to their original route once the line comes backup
0
thomasm1948Author Commented:
hmm, I am wondering if I should use PBR with SLA Monitor.  Granted that is static routing
0
JustInCaseCommented:
You can use PBR with SLA Monitor, or you can use static routing with tracking, whatever is convenient for you.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.