Solved

Cisco Express Forwarding Redundancy

Posted on 2014-10-20
8
213 Views
Last Modified: 2014-10-21
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
0
Comment
Question by:thomasm1948
  • 4
  • 4
8 Comments
 
LVL 28

Expert Comment

by:Predrag Jovic
ID: 40392221
It is supported. Link with details

Load Balancing with CEF
0
 

Author Comment

by:thomasm1948
ID: 40392295
From the document, it seems that it does it automatically once I enable CEF.  Is that correct
0
 
LVL 28

Expert Comment

by:Predrag Jovic
ID: 40392326
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:thomasm1948
ID: 40392343
our switch doesn't support per packet
0
 
LVL 28

Expert Comment

by:Predrag Jovic
ID: 40392348
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
 

Author Comment

by:thomasm1948
ID: 40392512
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
 

Author Comment

by:thomasm1948
ID: 40392680
hmm, I am wondering if I should use PBR with SLA Monitor.  Granted that is static routing
0
 
LVL 28

Accepted Solution

by:
Predrag Jovic earned 500 total points
ID: 40392748
You can use PBR with SLA Monitor, or you can use static routing with tracking, whatever is convenient for you.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question