Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show forwarding-options enhanced-hash-key

Syntax

Description

Display information about which packet fields are used by the hashing algorithm to make hashing decisions.

You can configure the fields that are inspected by the hashing algorithm to make hashing decisions for traffic entering a LAG bundle using the forwarding-options enhanced-hash-key statement.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show forwarding-options enhanced-hash-key command. Output fields are listed in the approximate order in which they first appear. Output fields vary by platform.

Table 1: show forwarding-options enhanced-hash-key Output Fields

Field Name

Field Description

Hash-Mode

Current hash mode: Layer 2 header or Layer 2 payload.

Protocol

Indicates whether the Protocol field is or is not used by the hashing algorithm: Yes or No.

Destination L4 Port

Indicates whether the Destination L4 Port field is or is not used by the hashing algorithm: Yes or No.

Source L4 Port

Indicates whether the Source L4 Port field is or is not used by the hashing algorithm: Yes or No.

Destination IPv4 Addr

Indicates whether the Destination IPv4 Addr field is or is not used by the hashing algorithm: Yes or No.

Source IPv4 Addr

Indicates whether the Source IPv4 Addr field is or is not used by the hashing algorithm: Yes or No.

Incoming port

Indicates whether the incoming port number (interface) is or is not used by the hashing algorithm. Yes or No

Note:

When passive monitoring is enabled on a QFX10000 Series switch interface, the inet, inet6 and L2 fields are all set to No.

Vlan id

Indicates whether the Vlan ID field is or is not used by the hashing algorithm: Yes or No.

Inner-Vlan ID

Indicates whether the inner Vlan field is or is not used by the hashing algorithm: Yes or No.

Next Hdr

Indicates whether the Next Hdr field is or is not used by the hashing algorithm: Yes or No.

Destination IPv6 Addr

Indicates whether the Destination IPv6 Addr field is or is not used by the hashing algorithm: Yes or No.

Source IPv6 Addr

Indicates whether the Source IPv6 Addr field is or is not used by the hashing algorithm: Yes or No.

Ether Type

Indicates whether the Ether Type field is or is not used by the hashing algorithm: Yes or No.

Destination MAC Address

Indicates whether the Destination MAC Address field is or is not used by the hashing algorithm: Yes or No.

Source MAC Address

Indicates whether the Source MAC Address field is or is not used by the hashing algorithm: Yes or No.

Symmetric-hashing

Indicates whether symmetric hashing is set for inet and inet6: Yes or No.

Load Balancing Method for ALB

Indicates the load balancing method for adaptive load balancing (ALB): flowlet or per-packet.

The load balancing method is flowlet by default, and can be configured using the fabric-load-balance statement.

Load Balancing Method for DLB (QFX5120-32C, QFX5120-48Y, and QFX5220 switches)

Indicates various Dynamic Load Balancing (DLB) modes:

  • Flowlet

  • Assigned flow

  • Per-packet

Refer Dynamic Load Balancing for more details.

Fabric Link Scale

Indicates the fabric link scale, in mbps.

Inactivity Interval

Indicates the fabric load balance inactivity interval, in microseconds (us).

The inactivity interval is 16 microseconds by default, and can be configured using the inactivity-interval statement.

Hash Region Size/Trunk

Indicates the hash region size, in buckets per fabric trunk.

Seed

A hash seed value, between 0 and 4294967295. If a hash-seed value is not configured it is automatically assigned on the QFX10000 Series switches. A hash-seed prevents traffic polarization to same links on the next hop QFX switch when two are connected with LAG/ECMP.

Key

Indicates whether the GRE key field is or is not used by the hashing algorithm: Yes or No.

Protocol

Indicates if a Generic Router Encapsulation (GRE) endpoint over routes was dynamically learned by a routing protocol such as RIP or OSPF.

MPLS Enabled

Indicates if MPLS is enabled under L2 switching.

VXLAN VNID

A 24-bit virtual network identifier (VNID) that uniquely identifies the Virtual Extensible Local Area Networks (VXLAN) segment.

Sample Output

show forwarding-options enhanced-hash-key (Layer 2 Payload Hash Mode)

show forwarding-options enhanced-hash-key (Layer 2 Header Hash Mode)

show forwarding-options enhanced-hash-key (Symmetric Hashing)

show forwarding-options enhanced-hash-key (Fabric Load Balancing Options)

show forwarding-options enhanced-hash-key (DLB Options)

show forwarding-options enhanced-hash-key (QFX10000 Series Switches)

show forwarding-options enhanced-hash-key (Junos OS Evolved)

Release Information

Command introduced in Junos OS Release 13.2X51-D15.

Fabric Load Balancing Options output fields introduced in Junos OS Release 14.1X53-D10.

Incoming port output field introduced in Junos OS Release 18.4R1 for QFX10000 Series switches.

Command introduced in Junos OS Evolved Release 21,3R1.

The ecmp-dlb statement introduced in Junos OS Evolved Release 19.4R2 for QFX5220 switches.

The ECMP Load Balancing Options output field updated under show forwarding-options enhanced-hash-key (DLB Options) statement in Junos Evolved Release 22.2X100-D20 for QFX5240 switches.