hash-key
Syntax
hash-key {family {inet {layer-3;layer-4;session-id;}inet6 {layer-3;layer-4;session-id;}mpls {label-1;label-2;label-3;no-labels;payload {ip {layer-3-only;port-data {destination-lsb;destination-msb;source-lsb;source-msb;}}}}}}
Hierarchy Level
[edit forwarding-options]
Release Information
Statement modified in Release 10.2 of Junos OS.
Description
Select which packet header data to use for per-flow load balancing.
Options
- inet—IPv4 address family.
- inet6—IPv6 address family.
- mpls—MPLS address family.
- layer-3—Incorporate Layer 3 data into the hash key.
- layer-4—Incorporate Layer 4 data into the hash key.
- session-id—Incorporate session ID data into the hash key (SRX3000 and SRX5000 lines only). The session ID data has higher precedence than the Layer 3 or 4 information.
- label-1—Incorporate the first MPLS label into the hash key.
- label-2—Incorporate the second MPLS label into the hash key.
- label-3—Incorporate the third MPLS label into the hash key.
- no-labels—Include no MPLS labels into 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.
- port-data—Include the source and destination port field information.
- source-msb—Include the most significant byte of the source port.
- source-lsb—Include the least significant byte of the source port.
- destination-msb—Include the most significant byte of the destination port.
- destinatione-lsb—Include the least significant byte of the destination port.
Usage Guidelines
For configuration instructions and examples, see the Junos Policy Framework Configuration Guide.
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1