[Contents] [Prev] [Next] [Index] [Report an Error]


Step 1: Configure Bandwidth to Unevenly Load-Balance Traffic

Purpose

Configuring bandwidth to unevenly load-balance traffic is performed in three stages. The first stage enables a load-balancing policy, the second stage configures the LPS bandwidth, and the third stage enables RSVP load balancing.

Action

To configure bandwidth to unevenly load-balance RSVP LSPs, follow these steps:

  1. Ensure that you have load balancing configured: see Configuring and Verifying Load Balancing.
  2. Configure LSP bandwidth. In configuration mode, go to the following hierarchy level:
  3. [edit]
    
    user@host# edit protocols mpls 
    
    
    
  4. Configure the LSP bandwidth:
  5. [edit protocols mpls]
    
    user@host# set label-switched-path lsp-path-name bandwidth bps
    
    
    
  6. Verify the configuration:
  7. [edit protocols mpls]
    
    user@host# show
    
    
    
  8. Configure RSVP bandwidth. Go to the following hierarchy level:
  9. [edit]
    
    user@host# edit protocols rsvp
    
    
    
  10. Configure the bandwidth statement:
  11. [edit protocols rsvp]
    
    user@host# set load-balance bandwidth
    
    
    
  12. Verify and commit the configuration:
  13. user@host# show
    
    user@host# commit 
    

Sample Output

user@R1> edit 
Entering configuration mode

[edit]
user@R1# edit protocols mpls

[edit protocols mpls]
user@R1# set label-switched-path lsp1 bandwidth 10m

[edit protocols mpls]
user@R1# show 
label-switched-path lsp1 {
    to 192.168.0.1;
    install 10.0.90.14/32 active;
    bandwidth 10m;
    primary via-r4;

[edit protocols mpls]
user@R1# top

[edit]
user@R1# edit protocols rsvp 

[edit protocols rsvp]
user@R1# set load-balance bandwidth 

[edit protocols rsvp]
user@R1# show 
load-balance bandwidth;
interface fe-0/1/2.0;
interface fxp0.0 {
    disable;
}

[edit protocols rsvp]
user@R1# commit 
commit complete

What It Means

The sample output shows the configuration of LSP bandwidth and RSVP bandwidth on ingress router R1. The sample output shows only one LSP configured with bandwidth, however, for RSVP bandwidth to work, you must have at least two equal-cost LSPs toward the same egress router and at least one of the LSPs must have a bandwidth value configured. If no LSPs have bandwidth configured, equal-distribution load balancing is performed. If only some LSPs have bandwidth configured, the LSPs without any bandwidth configured do not receive any traffic.


[Contents] [Prev] [Next] [Index] [Report an Error]