Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show forwarding-options enhanced-hash-key

Syntax

show forwarding-options enhanced-hash-key

Release Information

Command introduced in Junos OS Release 13.2X51-D15 for EX Series switches.

Command introduced in Junos OS Release 13.2X51-D20 for QFX Series devices.

Description

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

You can configure the fields that are inspected by the hashing algorithm to make hashing decisions for traffic entering a LAG bundle using the forwarding-options enhanced-hash-key statement.

Required Privilege Level

view

List of Sample Output

show forwarding-options enhanced-hash-key (Layer 2 Payload Hash Mode)
show forwarding-options enhanced-hash-key (Layer 2 Header Hash Mode)

Output Fields

Table 1 lists the output fields for the show forwarding-options enhanced-hash-key command. Output fields are listed in the approximate order in which they first appear.

Table 1: show forwarding-options enhanced-hash-key Output Fields

Field Name

Field Description

Hash-Mode

Current hash mode: Layer 2 header or Layer 2 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: Yes or No.

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.

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.

Ether Type

Indicates whether the Ether Type 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.

Sample Output

show forwarding-options enhanced-hash-key (Layer 2 Payload Hash Mode)

user@switch> show forwarding-options enhanced-hash-key
Slot 0


Current Hash Settings
----------------------
Hash-Mode                              :layer2-payload

  inet Hash settings-
  --------------------
    inet packet fields
       Protocol                        : Yes
       Destination L4 Port             : Yes
       Source L4 Port                  : Yes
       Destination IPv4 Addr           : Yes
       Source IPv4 Addr                : Yes
       Vlan id                         : No


  inet6 Hash settings-
  ---------------------
    inet6 packet fields
       Next Hdr                        : Yes
       Destination L4 Port             : Yes
       Source L4 Port                  : Yes
       Destination IPv6 Addr           : Yes
       Source IPv6 Addr                : Yes
       Vlan id                         : No

show forwarding-options enhanced-hash-key (Layer 2 Header Hash Mode)

user@switch> show forwarding-options enhanced-hash-key
Slot 0


Current Hash Settings
----------------------

Hash-Mode                              : layer2-header

  layer2 Hash settings-
  ----------------------
     layer2 packet fields
       Ether Type                      : Yes
       Destination MAC Address         : Yes
       Source MAC Address              : Yes
       VLAN ID                         : No

Published: 2014-07-23