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?
 
JustInCaseCommented:
You can use PBR with SLA Monitor, or you can use static routing with tracking, whatever is convenient for you.
0
 
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
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.