The set interface ecmp hash-mapping randomized-load-balancing command enables Randomized Load Balancing of ECMP (Equal-Cost Multi-Path Routing). That is to say, the next hop of the message is randomly generated among multiple equivalent routes.
The delete interface ecmp hash-mapping randomized-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 randomized-load-balancing
delete interface ecmp hash-mapping randomized-load-balancing
Parameter
Null.
Example
Enable Randomized Load Balancing for ECMP.
admin@PICOS# set interface ecmp hash-mapping randomized-load-balancing admin@PICOS# commit admin@PICOS# exit admin@PICOS> start shell sh admin@PICOS:~$ sudo systemctl restart picos