Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


hash-key (Forwarding Options)


Hierarchy Level


(QFX10000 switches only) Select which packet header data to use for per-flow load balancing.


You can configure either Layer 3 or Layer 4 load balancing, or both at the same time.


On I chip platforms, an unknown Layer 4 header is excluded from load-balance hashing to avoid undesired packet reordering.


  • inet—IPv4 address family.

  • layer-3—Incorporate Layer 3 data into the hash key.

  • layer-4—Incorporate Layer 4 data into the hash key.

  • outer-vlan-id—Include outer VLAN ID information in the hash key.

  • inner-vlan-id—Include inner VLAN ID information in the hash key.

  • payload—Incorporate payload data into the hash key.

  • ip—Include the IP address of the IPv4 or IPv6 payload into the hash key.

  • layer-3–only—Include only Layer 3 IP information.

Required Privilege Level

system—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 15.1X53-D10.