The maximum load-balancing import-rib command configures the maximum number of routes that can be imported for load balancing when the optimal route is an imported route.
The undo maximum load-balancing import-rib command restores the default maximum number of routes that can be imported for load balancing.
By default, when the optimal route is the imported route, the maximum number of routes that can be imported for load balancing is 1. That is, load balancing is not performed.
Usage Scenario
If the optimal routes are imported routes, load balancing can be implemented among the imported routes through multi-path selection. This load balancing mode requires equal-cost routes for route import. You can configure the number of equal-cost routes for load balancing to implement multi-path load balancing.
Prerequisites
Run the import-rib { vpnv4 | vpnv6 } mpls command to enable the device to import BGP VPNv6 or VPNv4 routes to the EVPN routing table.
<HUAWEI> system-view [*HUAWEI] bgp 100 [*HUAWEI-bgp] l2vpn-family evpn [*HUAWEI-bgp-af-evpn] import-rib vpnv4 mpls [*HUAWEI-bgp-af-evpn] maximum load-balancing import-rib 2