The maximum load-balancing import-rib command sets 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 an imported route, the maximum number of imported routes that can be used 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 imported routes. You can configure the number of equal-cost imported routes for load balancing to implement multi-path load balancing.
Prerequisites
The device has been enabled to import EVPN IP prefix routes to the BGP VPNv4 routing table using the import-rib evpn srv6 ip-prefix command.