Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

hash-key (Forwarding Options)

Syntax

hash-key {family inet {layer-3;layer-4;session-id;symmetric-hash {complement;}}family mpls {all-labels;label-1;label-2;label-3;no-labels;no-label-1-exp;payload {ether-pseudowire;ip {disable;layer-3-only;port-data {destination-lsb;destination-msb;source-lsb;source-msb;}}}}family multiservice {destination-mac;label-1;label-2;payload {ip {layer-3-only;layer-3 {(source-ip-only | destination-ip-only);}layer-4;}}source-mac:}}

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-ip-only, destination-ip-only, and layer-4 statements introduced for the family multiservice statement in Junos OS Release 9.5. (MX Series routers only).

all-labels and payload ip disable statements introduced for the family mpls statement in Junos OS Release 12.1X48R2. (PTX Series Packet Transport Switches only).

Description

Select which packet header data to use for per-flow load balancing.

The options are explained separately.

Note: To modify the default hashing mechanism on Modular Port Concentrators (MPCs) and Type 5 FPCs, you need to configure the statements at the [edit forwarding-options enhanced-hash-key] hierarchy level. Statements at the [edit forwarding-options hash-key] hierarchy level do not support MPCs and Type 5 FPCs.

The following statements are not supported on T Series routers:

  • The symmetric-hash and the session-id statements at the [edit forwarding-options hash-key family inet] hierarchy level and all statements at the [edit forwarding-options hash-key family multiservice] hierarchy level.
  • The label-1 and label-2 statements, and the IP configuration at the [edit forwarding-options hash-key family multiservice] hierarchy level.

Required Privilege Level

interface—To view this statement in the configuration.

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

Published: 2013-02-27