Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

hash-key (Forwarding Options)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
hash-key {
    family {
        inet {
            layer-3;
            layer-4;
            inner-vlan-id;
            outer-vlan-id;
        }
    }
    multiservice {
        source-mac;
        destination-mac;
        payload {
            ip {
                layer3-only;
                layer-3 (source-ip-only | destination-ip-only);
                layer-4;
                inner-vlan-id;
                outer-vlan-id;
            }
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit forwarding-options]
[edit chassis fpc slot-number pic pic-number]

Description

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

Note:

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

Note:

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

Options

  • 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.

footer-navigation