maximum-paths ebgp ibgp
BGP configuration mode
BGP address-family IPv6 unicast configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations.
Enhancements to BGP load sharing support the load sharing of BGP4 and BGP4+ routes
in IP Equal-Cost Multipath (ECMP), even if the BGP multipath load-sharing feature
is not enabled by means of the
use-load-sharing option to the
maximum-paths command. You can set separate values for IGMP and ECMP load sharing. Use this command
to specify the number of equal-cost multipath eBGP or iBGP routes or paths that are
selected.
The following example sets the number of equal-cost multipath eBGP routes or paths that will be selected to 6 in the IPv4 address family.
device# configure terminal device(config)# router bgp device(config-bgp-router)# maximum-paths ebgp 6
The following example sets the number of equal-cost multipath iBGP routes or paths that will be selected to 4 in the IPv6 address family.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# maximum-paths ibgp 4
The following example sets the number of equal-cost multipath eBGP routes or paths that will be selected to 3 in a nondefault VRF instance in the IPv4 address family.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv4 unicast vrf red device(config-bgp-ipv4u-vrf)# maximum-paths ebgp 3
| Release version | Command history |
|---|---|
| 08.0.30 | Support was added for the BGP address-family IPv6 unicast VRF configuration mode. |