Enabling Load-Balancing Across Different Paths
The BGP4+ multipath feature can be configured, enabling load-balancing across different
paths.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
router bgpcommand to enable BGP routing. - Enter the
address-family ipv6 unicastcommand to enter IPv6 address family configuration mode. - Do one of the following:
- Enter the
maximum-pathscommand and specify a value to set the maximum number of BGP4+ shared paths.
- Enter the
maximum-pathscommand using the use-load-sharing keyword to set the maximum number of BGP4+ shared paths to that of the value already configured by means of theip load-sharingcommand.
- Enter the
The following example sets the maximum number of BGP4+ shared paths to 8.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# maximum-paths 8
The following example sets the maximum number of BGP4+ shared paths to that of the
value already configured using the
ip load-sharing command.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# maximum-paths use-load-sharing