hash-key
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
family multiservice and no-label-1-exp options introduced in Junos OS Release 8.0.
label-3 and no-labels options introduced in Junos OS Release 8.1.
ether-pseudowire statement introduced in Junos OS Release 9.1 (M320 and T Series routers only); support extended to M120 and MX Series routers in Junos OS Release 9.4.
ip, label-1, label-2, layer-3-only, and payload options for the family multiservice statement introduced in Junos OS Release 9.4. (M120 and M320 routers only); support for ip and payload statements only to MX Series routers.
layer-3, source-address-only, destination-address-only, and layer-4 statements introduced for the family multiservice statement in Junos OS Release 9.5. (MX Series routers only)
Description
Select which packet header data to use for per-flow load balancing.
Options
inet—IP address family.
mpls—MPLS address family.
multiservice—Multiservice protocol family
layer-3—Incorporate Layer 3 data into the hash key.
layer-4—Incorporate Layer 4 data into the hash key.
no-label-1-exp—The EXP bit of the first label is not used in the hash calculation.
label-1—Incorporate the first label into the hash key.
label-2—Incorporate the second label into the hash key.
label-3—Include the third MPLS label in the hash key.
no-labels—Include no MPLS labels in the hash key.
payload—Incorporate payload data into the hash key.
ip—Include the IP address of the IPv4 or IPv6 payload in 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.
destination-lsb—Include the least-significant byte of the destination port.
destination-mac—Include the destination MAC address in the hash key.
source-address-only—Include only the Layer 3 IP source address in the hash key.
destination-address-only—Include only the Layer 3 IP destination address in the hash key.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
