Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

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
0
thomasm1948
Asked:
thomasm1948
  • 4
  • 4
1 Solution
 
PredragNetwork EngineerCommented:
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
 
PredragNetwork EngineerCommented:
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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
thomasm1948Author Commented:
our switch doesn't support per packet
0
 
PredragNetwork EngineerCommented:
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
 
PredragNetwork EngineerCommented:
You can use PBR with SLA Monitor, or you can use static routing with tracking, whatever is convenient for you.
0

Featured Post

Become an IT Security Management Expert

In today’s fast-paced, digitally transformed world of business, the need to protect network data and ensure cloud privacy has never been greater. With a B.S. in Network Operations and Security, you can get the credentials it takes to become an IT security management expert.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now