Related Documentation
- EX Series
- [edit forwarding-options] Hierarchy Level
- J Series
- [edit forwarding-options] Hierarchy Level
- M Series
- [edit forwarding-options] Hierarchy Level
- MX Series
- [edit forwarding-options] Hierarchy Level
- PTX Series
- [edit forwarding-options] Hierarchy Level
- SRX Series
- [edit forwarding-options] Hierarchy Level
- T Series
- [edit forwarding-options] Hierarchy Level
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, 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 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.
Related Documentation
- EX Series
- [edit forwarding-options] Hierarchy Level
- J Series
- [edit forwarding-options] Hierarchy Level
- M Series
- [edit forwarding-options] Hierarchy Level
- MX Series
- [edit forwarding-options] Hierarchy Level
- PTX Series
- [edit forwarding-options] Hierarchy Level
- SRX Series
- [edit forwarding-options] Hierarchy Level
- T Series
- [edit forwarding-options] Hierarchy Level