Enable Load Balancing Across Different BGP4+ Paths

You can use the BGP4+ multipath feature to enable load balancing different BGP4+ paths.

About this task

You can use the num variable to specify a maximum number of shared paths. Or you can use the use-load-sharing keyword to use the value that has already configured by means of the ip load-sharing command.

Procedure

  1. Access global configuration mode.
    device# configure terminal
  2. Access BGP configuration mode.
    device(config)# router bgp
  3. Access IPv6 address family configuration mode.
    device(config-bgp-router)# address-family ipv6 unicast
  4. Perform one of the following steps to specify load-sharing paths:
    • Use the num variable to specify a maximum number of shared paths.
      device(config-bgp-ipv6u)# maximum-paths 8
    • Use the value that has been configured by means of the ip load-sharing command.
      device(config-bgp-ipv6u)# maximum-paths use-load-sharing

Example

The following example summarizes the commands in this procedure

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# maximum-paths 8
device(config-bgp-ipv6u)# maximum-paths use-load-sharing