The load-balancing eibgp command enables load balancing among EBGP and IBGP routes.
The undo load-balancing eibgp command disables load balancing among EBGP and IBGP routes.
The load-balancing igp-metric-ignore command prevents a router from comparing IGP costs when selecting routes for load balancing.
The undo load-balancing igp-metric-ignore command restores the default configuration.
By default, load balancing is implemented only among IBGP routes or EBGP routes, and a device compares IGP costs when selecting routes for load balancing.
Usage Scenario
To enable load balancing among EBGP and IBGP routes, run the load-balancing eibgp command.
When both EBGP and IBGP routes are available and load balancing among them is required, run the load-balancing eibgp command. Exercise caution when using the command because the execution of this command will change the conditions of load balancing. To prevent a router from comparing IGP costs when selecting routes for load balancing, run the load-balancing igp-metric-ignore command. When routes with different IGP costs are available and load balancing among them is required, run the load-balancing igp-metric-ignore command. Exercise caution when using the command because the execution of this command will change the conditions of load balancing.Precautions
The load-balancing eibgp command and the maximum load-balancing { ebgp | ibgp }or maximum load-balancing eibgp command are mutually exclusive.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [*HUAWEI-vpn-instance-vpna] ipv6-family [*HUAWEI-vpn-instance-vpna-af-ipv6] quit [*HUAWEI-vpn-instance-vpna] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv6-family vpn-instance vpna [*HUAWEI-bgp-6-vpna] load-balancing eibgp
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [*HUAWEI-vpn-instance-vpna] ipv6-family [*HUAWEI-vpn-instance-vpna-af-ipv6] quit [*HUAWEI-vpn-instance-vpna] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv6-family vpn-instance vpna [*HUAWEI-bgp-6-vpna] load-balancing igp-metric-ignore