Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show forwarding-options hash-key

date_range 21-Jun-24

Syntax (PTX10003-80C, PTX10003-160C (PTX10003), and ACX7000 Series)

content_copy zoom_out_map
show forwarding-options hash-key

Description

Display information about which packet fields are used by the hashing algorithm to make hashing decisions.

Required Privilege Level

View

Output Fields

Table 1: show forwarding-options hash-key Output Fields
Field Name Field Description
Hash-Mode

Current hash mode: Layer 4 header or Layer 4 payload.

Protocol

Indicates whether the Protocol field is or is not used by the hashing algorithm: Yes or No.

Destination L4 Port

Indicates whether the Destination L4 Port field is or is not used by the hashing algorithm: Enable or Disable.

Source L4 Port

Indicates whether the Source L4 Port field is or is not used by the hashing algorithm: Yes or No.

Destination IPv4 Addr

Indicates whether the Destination IPv4 Addr field is or is not used by the hashing algorithm: Yes or No.

Source IPv4 Addr

Indicates whether the Source IPv4 Addr field is or is not used by the hashing algorithm: Yes or No.

Vlan id

Indicates whether the Vlan ID field is or is not used by the hashing algorithm: Yes or No.

Inner-Vlan ID

Indicates whether the inner Vlan field is or is not used by the hashing algorithm: Yes or No.

Inet Tunnel Endpoint ID

Indicates whether the GTP hashing, Inet Tunnel Endpoint ID is or is not used by the hashing algorithm: Yes or No.

Inet6 Tunnel Endpoint ID

Indicates whether the GTP hashing, Inet6 Tunnel Endpoint ID is or is not used by the hashing algorithm: Yes or No.

Incoming Interface

Indicates whether the interfaceis or is not used by the hashing algorithm: Yes or No.

Next Hdr

Indicates whether the Next Hdr field is or is not used by the hashing algorithm: Yes or No.

Destination IPv6 Addr

Indicates whether the Destination IPv6 Addr field is or is not used by the hashing algorithm: Yes or No.

Source IPv6 Addr

Indicates whether the Source IPv6 Addr field is or is not used by the hashing algorithm: Yes or No.

Destination MAC Address

Indicates whether the Destination MAC Address field is or is not used by the hashing algorithm: Yes or No.

Source MAC Address

Indicates whether the Source MAC Address field is or is not used by the hashing algorithm: Yes or No.

Hash Seed

A hash seed value, between 0 and 2882365321. A hash-seed prevents traffic polarization to same links on the next hop QFX switch when two are connected with LAG/ECMP.

Resilient Hash Seed A resilient hash seed value, between 0 and 2557914061.
MPLS Enabled

Indicates if MPLS is enabled under L4 routing.

VXLAN ID

A identifier (ID) that uniquely identifies the Virtual Extensible Local Area Networks (VXLAN) segment.

Table 2: show forwarding-options hash-key Output Fields on ACX7000 Series
Field Name Field Description
Multiservice Hash Settings

Enables source and destination mac fields in the hashkey.

Inet Hash Settings
  • Layer3 Proto-Incorporate IPv4 Layer 3 data in the hashkey

  • Layer4 Proto-Incorporate Layer 4 data in the hashkey

Inet6 Hash Settings
  • Layer3 Proto-Incorporate IPv4 Layer 3 data in the hashkey

  • Layer4 Proto-Incorporate Layer 4 data in the hashkey

Mpls Hash Settings
  • Label-Incorporate MPLS label in the hashkey

  • IpPayload-Incorporate layer3 Payload in the hashkey

  • EtherPayload-Incorporate ether payload in the hashkey

  • ZeroCW-Incorporate preceding ether packet payload in the hashkey

Sample Output

show forwarding-options hash-key

content_copy zoom_out_map
user@host> show forwarding-options hash-key
content_copy zoom_out_map
Hash Seed
    -------------------------
        Hash Seed                       : 2882365321 
        Resilient Hash Seed             : 2557914061 
 
    Inet RTAG7 Settings
    --------------------
    Inet packet fields
 
        Protocol                        : enable
        Source L4 Port                  : disabled
        Destination L4 Port             : disabled
        IPV4 Source Address             : enable
        IPV4 Destination Address        : enable
 
    GTP HASHING INFORMATION:
    ---------------------------
        Inet Tunnel Endpoint ID         : disable
        Inet6 Tunnel Endpoint ID        : disable
 
    Inet6 RTAG7 settings-
    --------------------
    Inet6 packet fields
 
        Next Header                     : enable
        Source L4 Port                  : tcp, udp
        Destination L4 Port             : tcp   
        IPV6 Source Address             : enable
        IPV6 Destination Address        : enable
        Flow label                      : disable
 
    MPLS RTAG7 settings-
    --------------------
        label                           : enable
 
    VXLAN Settings
    -------------------------
        Vxlan Id                        : disable    
 
    Layer 2 Settings
    -------------------------
        Source Mac Address              : enable     
        Destination Mac Address         : enable     
        Vlan Id                         : enable     
        Inner Vlan Id                   : enable     
        Incoming Interface              : enable

show forwarding-options hash-key (ACX7000 Series)

content_copy zoom_out_map
user@host> show forwarding-options hash-key
content_copy zoom_out_map
SENT: Ukern command: show evo-pfemand hashkey
Multiservice Hash Settings
----------------------------
    Source MAC: disabled
    Destination MAC: disabled
 
Inet Hash Settings
--------------------
    Layer3 Proto: disabled
    Layer4 Proto: disabled
 
Inet6 Hash Settings
----------------------
    Layer3 Proto: disabled
    Layer4 Proto: disabled
 
Mpls Hash Settings
---------------------
    Label: disabled
    IpPayload: disabled
    EtherPayload: disabled
    ZeroCW: disabled

Release Information

Command introduced in Junos OS Evolved Release 21.3R1.

footer-navigation