Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    enhanced-hash-key

    Syntax

    enhanced-hash-key {family {inet incoming-interface-index;no-destination-port;no-source-port;type-of-service;}inet6 {incoming-interface-index;no-destination-port;no-source-port;traffic-class;}mpls {incoming-interface-index;label-1-exp;no-payload;}multiservice {incoming-interface-index;no-payload;outer-priority;}services-loadbalancing {family inet {layer-3-services {destination-addressincoming-interface-index;source-address;}}family inet6 {layer-3-services {destination-addressincoming-interface-index;source-address;}}}}

    Hierarchy Level

    [edit forwarding-options],[edit logical-systems logical-system-name routing-instances instance-name forwarding-options], [edit routing-instances instance-name forwarding-options]

    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.
    • inet6—IPv6 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.
    • destination-address—Include destination-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.

    Published: 2013-02-10