The set interface ecmp hash-mapping round-robin-load-balancing command enables round robin mode of ECMP (Equal-Cost Multi-Path Routing) load balancing. That is, each equivalent route to the same destination address alternately forwards the traffic. For known unicast, if the packets have approximately the same length, you can choose to configure round-robin-based per-packet load balancing to achieve traffic load balancing.
The delete interface ecmp hash-mapping round-robin-load-balancing command deletes the configuration.
When the ECMP hash-mapping mode configuration (set/delete) changes, a system restart is required for the configuration to take effect.
ECMP hash-mapping modes (round-robin-load-balancing, randomized-load-balancing, symmetric and dlb-normal) are mutually exclusive. To switch between modes, you must first delete the configured mode before setting up the new one. Then, restart the system for the configuration to take effect.
Command Syntax
set interface ecmp hash-mapping round-robin-load-balancing
delete interface ecmp hash-mapping round-robin-load-balancing
Parameter
Null.
Example
Enable round robin mode of ECMP load balancing.
admin@PICOS# set interface ecmp hash-mapping round-robin-load-balancing admin@PICOS# commit admin@PICOS# exit admin@PICOS> start shell sh admin@PICOS:~$ sudo systemctl restart picos