Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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 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 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> start shell sh
admin@PICOS:~$ sudo systemctl restart picos
  • No labels