TE load balancing

Unanswered Question
Feb 25th, 2007


I have dual links (primary and secondary) between two PE-routers. My goal is to configure efficient method of using secondary link bandwidth when primary link congested (constraint-based routing??).The question consists in the following:

1.How new data sessions are established by default in the case of lack of primary link bandwidth?

2.Whether I can adjust CEF so that all new sessions are established via secondary link?

The primary link is terrestrial, and secondary link is sattelite. Thus per packet load balancing is unacceptable choise for me...

In advance thanks for comments,


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
dknov Sun, 02/25/2007 - 22:18


Are these PEs directly connected? Are there any other links between them?

Having only limited infomation about your topology, your choice is to create two TE tunnels between the PEs. While configuring them, you need to either reserve bandwidth (control plane only) or configure load-sharing value (under Interface Tunnel configuration). You will then need to force your traffic thru the tunnels, with autoroute being the easiest and the most commonly used method.

Per-packet or per-destination CEF behavior is configurable on the tunnels headend, so no problem there.

What CEF will do is it will perform it's hash functionality on incoming packet and will determine outbound interface (bucket)according to the ratios calculated from either bandwith or load-sharing config you have applied on Tunnel interfaces on tunnels headends. You can check CEF loadbalancing behavior in this case by doing "show ip cef x.x.x.x internal" command. For example, if you set load-sharing to 5 on one tunnel and to 10 on the other, you will have twice as much traffic going thru the second tunnel than thru the first one.

I believe that if you wish the scenario to work in failover fashion, rather than load-balancing (cause with even per-destination CEF and ratio highly in favor of you terrestrial link, you will still send some data thru sattelite, which is horrible), you will have to force traffic only into one of the tunnels by route-maps/statics and use the other only when main one is down....However in this case you might just use routing protocol metrics without getting into TE business :-)




This Discussion