multipath

Changes load sharing to apply to only iBGP or eBGP paths, or to support load sharing among paths from different neighboring autonomous systems.
Syntax
multipath { ebgp | ibgp | multi-as }
no multipath { ebgp | ibgp | multi-as }
Parameters
ebgp
Enables load sharing of eBGP paths only.
ibgp
Enables load sharing of iBGP paths only.
multi-as
Enables load sharing of paths from different neighboring autonomous systems.
Modes

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

Usage Guidelines

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.

By default, when BGP load sharing is enabled, both iBGP and eBGP paths are eligible for load sharing, while paths from different neighboring autonomous systems are not.

The no form of the command restores the default.

Examples

The following example changes load sharing to apply to iBGP paths in the IPv4 address family.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# multipath ibgp

The following example enables load sharing of paths from different neighboring autonomous systems in the IPv6 address family.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# multipath multi-as

The following example changes load sharing to apply to eBGP paths 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)# multipath ebgp
History
Release version Command history
08.0.30 Support was added for the BGP address-family IPv6 unicast VRF configuration mode.