set interface ecmp hash-mapping symmetric

The set interface ecmp hash-mapping symmetric command enables Symmetric Hash for ECMP (Equal-Cost Multi-Path Routing) load balancing.

The delete interface ecmp hash-mapping symmetric command deletes the configuration.

  • Make sure that the settings for the source IP and destination IP fields match, and that the settings for the source port and destination port fields match; otherwise symmetric hashing is disabled automatically.

  • When the ECMP hash-mapping mode configuration (set/delete) changes, a system reboot 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 symmetric <true | false>

delete interface ecmp hash-mapping symmetric

 

Parameter

Null.

Parameter

Description

<true | false>

Enables or disables Symmetric Hash for ECMP. The value could be true or false.

  • true: Enables Symmetric Hash for ECMP.

  • false: Disables Symmetric Hash for ECMP.

The default value is false.

 

Example

  • Enable Symmetric Hash for ECMP.

admin@PICOS# set interface ecmp hash-mapping symmetric true admin@PICOS# commit admin@PICOS# exit admin@PICOS> request system reboot

Copyright © 2024 Pica8 Inc. All Rights Reserved.