[Contents] [Prev] [Next] [Index] [Report an Error]

hash-key

Syntax

hash-key {
family inet {
layer-3;
layer-4;
}
family mpls {
label-1;
label-2;
label-3;
no-labels;
no-label-1-exp;
payload {
ip {
layer-3-only;
port-data {
destination-lsb;
destination-msb;
source-lsb;
source-msb;
}
}
}
family multiservice {
destination-mac;
source-mac:
}
}
}

Hierarchy Level

[edit forwarding-options]

Release Information

Statement introduced before JUNOS Release 7.4.

no-label-1-exp option introduced in JUNOS Release 8.0.

family multiservice statement introduced in JUNOS Release 8.0.

label-3 and no-labels options introduced in JUNOS Release 8.1.

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.

Usage Guidelines

See Configuring the Load-Balance Per-Packet Action.

Required Privilege Level

interface—To view this statement in the configuration.

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


[Contents] [Prev] [Next] [Index] [Report an Error]