Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

enhanced-hash-key

 

List of Syntax

Syntax (EX Series)

Syntax (QFX5000 Line of Switches)

Syntax (QFX10000 Series Switches)

Syntax (EX Series)

Syntax (QFX5000 Line of Switches)

Syntax (QFX10000 Series Switches)

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 13.2X51-D15.

The fabric-load-balance statement introduced in Junos OS Release 14.1X53-D10.

The fabric-load-balance statement deprecated starting in Junos OS Releases 14.1X53-D46, 15.1R7, 16.1R6, 17.1R3, 17.2R2, 17.3R2, and 17.4R1.

The hash-seed statement introduced in Junos OS Release 15.1X53-D30.

The ecmp-dlb statement introduced in Junos OS Release 19.4R1 for QFX5120-32C and QFX5120-48Y switches.

Option symmetric-hash introduced in Junos OS Release 20.4R1.

Description

Configure the hashing key used to hash link aggregation group (LAG) and equal-cost multipath (ECMP) traffic, or enable adaptive load balancing (ALB) in a Virtual Chassis Fabric (VCF).

Note

Starting in Junos OS Release 14.1X53-D46, 15.1R7, 16.1R6, 17.1R3, 17.2R2, 17.3R2, and 17.4R1, the ALB feature is deprecated. If fabric-load-balance is enabled in the configuration for a VCF, delete the configuration item upon upgrading Junos OS.

The hashing algorithm is used to make traffic-forwarding decisions for traffic entering a LAG bundle or for traffic exiting a switch when ECMP is enabled.

For LAG bundles, the hashing algorithm determines how traffic entering a LAG bundle is placed onto the bundle’s member links. The hashing algorithm tries to manage bandwidth by evenly load-balancing all incoming traffic across the member links in the bundle.

When ECMP is enabled, the hashing algorithm determines how incoming traffic is forwarded to the next-hop device.

On QFX10000 Series switches, you can configure the hash seed for load balancing. By default, the QFX10000 Series switches use the system MAC address to generate a hash seed value. You can configure the hash seed value using the hash-seed statement at the [edit forwarding-options enhanced-hash-key] hierarchy level. Set a value between 0 and 4294967295. If you do not configure a hash seed value, the system generates a hash seed value based on the system MAC address.

The remaining statements are explained separately. See CLI Explorer.

Starting in Junos OS Release 18.4R1, symmetric hashing is supported on the QFX10000 Series switches. You configure the no-incoming-port option under the [edit forwarding-options enhanced-hash-key] hierarchy. By default, Dynamic IP (DIP), SIP, Layer 4 source and destination ports, and the incoming port are used for hashing. You can only configure symmetric hashing at the global level.

Starting in Junos OS Release 19.4R1, the dynamic load balancing on ECMP is supported on QFX5120-32C and QFX5120-48Y switches. You can configure the ecmp-dlb option under the [edit forwarding-options enhanced-hash-key] hierarchy. Refer Dynamic Load Balancing for more details.

To enable symmetric hashing on the QFX5000 line of switches, configure the symmetric-hash option.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.