enhanced-hash-key
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 10.1.
services-loadbalancing option introduced in Junos OS Release 11.2.
Description
For MX Series routers with MPCs and T4000 routers with Type 5 FPCs , select data used in the hash key for enhanced IP forwarding engines.
By default, MPCs use the following parameters for hashing:
- Source IP address
- Destination IP address
- Layer 3 protocol
- Source port
- Destination port
- Generic routing encapsulation (GRE) for GRE packets only.
You can modify the default hashing mechanism on MPCs and Type 5 FPCs by configuring statements at the [edit forwarding-options enhanced-hash-key] hierarchy level.
Default
Not enabled.
Options
services-loadbalancing—Distributes traffic across PICs based on source IP address when a route pointing to more than one services PICs is installed.
Data selections for services-loadbalancing:
- inet—IPv4 addressing protocol.
- layer-3-services—Include layer 3 IP data in the hash key.
- incoming-interface-index—Include incoming interface index in the hash key.
- source-address—Include source-address in the hash key.
Data selections for family inet:
- incoming-interface-index—Include incoming interface index in the hash key.
- no-destination-port—Omit IP destination port in the hash key.
- no-source-port—Omit IP source port in the hash key..
- type-of-service—Include type-of-service (TOS) byte in the hash key.
Data selections for family inet6:
- incoming-interface-index—Include the incoming interface index in the hash key.
- no-destination-port—Omit the IP destination port in the hash key.
- no-source-port—Omit the IP source port in the hash key.
- traffic-class—Include the traffic class byte in the hash key.
Data selections for family mpls:
- incoming-interface-index—Include the incoming interface index in the hash key.
- label-1-exp—The EXP bit of the first label is used in the hash calculation.
- no-payload—Omit the MPLS payload data from the hash key.
Data selections for family multiservice:
- incoming-interface-index—Include the incoming interface index in the hash key.
- no-payload—Omit the payload data from the hash key.
- outer-priority—Include the outer 802.1 priority bits in the hash key.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.