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

Checklist for Load Balancing in an MPLS Network

The checklist for load balancing provides the steps and commands to load balance traffic across an MPLS Network. The checklist includes links to an overview of load balancing as implemented in the JUNOS software, more detailed information about the commands to configure and verify load balancing, and to network examples of load balancing. The network examples include using a hash-key and bandwidth to load balance. (See Table 10.)

Table 10: Checklist for Load Balancing in an MPLS Network

Tasks

Command or Action

Load Balancing Overview

The overview includes when to configure load balancing, methods of load balancing and the parameters of load balancing. The following load-balancing options are also included:

  • IPv4 address family (INET) in the hash key
  • MPLS labels and IP payload in the hash key
  • LSP bandwidth
Configuring and Verifying Load Balancing  
  1. Define a Load-Balancing Policy

[edit]
edit policy-options

[edit policy-options]
set policy-statement policy-name
then load-balance      per-packet
show
commit

  1. Apply the Load-Balancing Policy to the Forwarding Table

[edit]
edit routing-options

[edit routing-options]
set forwarding-table export policy-name
show
commit

  1. Verify That Load Balancing Is Working

show configuration
show route
show route forwarding-table
show mpls lsp statistics
monitor interface traffic
clear mpls lsp statistics
clear interface statistics

Example: Load-Balanced MPLS Network  

Router Configurations for the Load-Balanced MPLS Network

show configuration | no-more

Using Hash-Key Load Balancing for LSP Traffic  
  1. Configuring MPLS Labels and IP Payload to Load-Balance LSP Traffic

[edit]
edit forwarding-options hash-key

[edit forwarding-options hash-key]
set family mpls label-1
set family mpls label-2
set family mpls payload ip
show
commit

  1. Configuring the IPv4 Address Family to Load-Balance LSP Traffic

[edit]
edit forwarding-options hash-key

[edit forwarding-options hash-key] set family inet layer-3 set family inet layer-4
show
commit

Hash Key Network Examples  
  1. Example: Load-Balancing a Network with Aggregated Interfaces
 

show configuration forwarding-options
show interfaces statistics interface-name
detail
show mpls lsp statistics

show configuration | no-more

  1. Example: Load-Balancing a Network Using INET in the Hash Key
 

show configuration
show route forwarding-table destination destination
show route
monitor interface traffic
show mpls lsp statistics

show configuration | no-more

Using Bandwidth to Unevenly Load-Balance RSVP LSPs  
  1. Configure Bandwidth to Unevenly Load-Balance Traffic

[edit]
edit protocols mpls

[edit protocols mpls]
set label-switched-path lsp-path-name
bandwidth bps show

[edit protocols rsvp]
set load-balance bandwidth
show
commit

  1. Verify the Operation of Uneven Bandwidth Load Balancing

show route protocol rsvp detail
show mpls lsp statistics

  1. Router Configurations for Bandwidth Load Balancing

show configuration | no-more

Traffic Flows Before Load Balancing

show route | find mpls
monitor interface traffic
show mpls lsp statistics


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