The load-balance hash-arithmetic command specifies a hash algorithm to be used for traffic load balancing on the interface board.
The undo load-balance hash-arithmetic command restores the default configuration.
By default, random is used on the interface board and second-hash is disabled.
Parameter | Description | Value |
---|---|---|
arithmetic1 |
Specifies the hash algorithm as CRC21b. |
- |
arithmetic2 |
Specifies the hash algorithm as CRC253. |
- |
arithmetic3 |
Specifies the hash algorithm as 16 Bit XOR. |
- |
arithmetic4 |
Specifies the hash algorithm as 8 Bit XOR. |
- |
arithmetic5 |
Specifies the hash algorithm as CRC32-3. |
- |
second-hash |
Enables the second hash. |
- |
Usage Scenario
There are three types of hash algorithms to implement traffic load balancing.
In two-level load balancing, hash algorithms cannot be configured the same for the first- and second-level load balancing on the router. If they are configured the same, the second-level load balancing does not take effect.Configuration Impact
The load-balance hash-arithmetic command is cyclic in nature, and only the latest configuration takes effect. After the command is configured, the new hash algorithm takes effect on the interface board to perform traffic load balancing.
Precautions
In VS mode, this command is supported only by the admin VS.