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] ipv4-family [*HUAWEI-vpn-instance-vpna-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vpna-af-ipv4] vpn-target 111:1 both [*HUAWEI-vpn-instance-vpna-af-ipv4] quit [*HUAWEI-instance-vpna] quit [*HUAWEI] bgp 100 instance a [*HUAWEI-bgp-instance-a] ipv4-family vpn-instance vpna [*HUAWEI-bgp-instance-a-vpna] load-balancing igp-metric-ignore