show forwarding-options enhanced-hash-key
Syntax
show forwarding-options enhanced-hash-key
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
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. Output fields vary by platform.
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. |
Incoming port |
Indicates whether the incoming port number (interface) is or is not used by the hashing algorithm. Yes or No Note:
When passive monitoring is enabled on a QFX10000 Series
switch interface, the |
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. |
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. |
Symmetric-hashing |
Indicates whether symmetric hashing is set for |
Load Balancing Method for ALB |
Indicates the load balancing method for adaptive load balancing (ALB): flowlet or per-packet. The load balancing method is flowlet by default, and can be configured using the fabric-load-balance statement. |
Load Balancing Method for DLB (QFX5120-32C, QFX5120-48Y, and QFX5220 switches) |
Indicates various Dynamic Load Balancing (DLB) modes:
Refer Dynamic Load Balancing for more details. |
Fabric Link Scale |
Indicates the fabric link scale, in mbps. |
Inactivity Interval |
Indicates the fabric load balance inactivity interval, in microseconds (us). The inactivity interval is 16 microseconds by default, and can be configured using the inactivity-interval statement. |
Hash Region Size/Trunk |
Indicates the hash region size, in buckets per fabric trunk. |
Seed |
A hash seed value, between 0 and 4294967295. If a hash-seed value is not configured it is automatically assigned on the QFX10000 Series switches. A hash-seed prevents traffic polarization to same links on the next hop QFX switch when two are connected with LAG/ECMP. |
Key |
Indicates whether the GRE key field is or is not used by the hashing algorithm: Yes or No. |
Protocol |
Indicates if a Generic Router Encapsulation (GRE) endpoint over routes was dynamically learned by a routing protocol such as RIP or OSPF. |
MPLS Enabled |
Indicates if MPLS is enabled under L2 switching. |
VXLAN VNID |
A 24-bit virtual network identifier (VNID) that uniquely identifies the Virtual Extensible Local Area Networks (VXLAN) segment. |
Sample Output
- show forwarding-options enhanced-hash-key (Layer 2 Payload Hash Mode)
- show forwarding-options enhanced-hash-key (Layer 2 Header Hash Mode)
- show forwarding-options enhanced-hash-key (Symmetric Hashing)
- show forwarding-options enhanced-hash-key (Fabric Load Balancing Options)
- show forwarding-options enhanced-hash-key (Dynamic Load Balancing Options)
- show forwarding-options enhanced-hash-key (QFX10000 Series Switches)
- show forwarding-options enhanced-hash-key (Junos OS Evolved)
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
show forwarding-options enhanced-hash-key (Symmetric Hashing)
user@switch> show forwarding-options enhanced-hash-key <some output removed for brevity> Symmetric-hashing SETTINGS ------------------------------------------------------------ inet : Yes inet6 : Yes
show forwarding-options enhanced-hash-key (Fabric Load Balancing Options)
user@switch> show forwarding-options enhanced-hash-key <some output removed for brevity> Fabric Load Balancing Options ------------------------------------------------------------ Load Balancing Method : Flowlet Fabric Link Scale : 40960 (mbps) Inactivity Interval : 16 (us) Hash Region Size/Trunk : 1024 (buckets)
show forwarding-options enhanced-hash-key (Dynamic Load Balancing Options)
user@switch> show forwarding-options enhanced-hash-key ecmp-dlb
Slot 0 Current RTAG7 Settings --------------------- Hash-Mode : layer2-payload inet RTAG7 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 RTAG7 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 ECMP Load Balancing Options ------------------------------------------------------------ Load Balancing Method : Flowlet Inactivity Interval : 64 (us)
show forwarding-options enhanced-hash-key (QFX10000 Series Switches)
user@switch> show forwarding-options enhanced-hash-key Slot 0 Seed value for Hash function 0: 2301323130 Seed value for Hash function 1: 2301323130 Seed value for Hash function 2: 2301323130 Seed value for Hash function 3: 2301323130 Inet settings: -------------- IPV4 dest address: Yes IPV4 source address: Yes L4 Dest Port: Yes L4 Source Port: Yes Incoming port: No Inet6 settings: -------------- IPV6 dest address: Yes IPV6 source address: Yes L4 Dest Port: Yes L4 Source Port: Yes Incoming port: No L2 settings: ------------ Dest Mac address: No Source Mac address: No Vlan Id: Yes Inner-vlan Id: No Incoming port: No GRE settings: ------------- Key: No Protocol: No MPLS settings: -------------- MPLS Enabled: Yes VXLAN settings: --------------- VXLAN VNID: No
show forwarding-options enhanced-hash-key (Junos OS Evolved)
user@host>show forwarding-options enhanced-hash-key Hash Seed ------------------------- Hash Seed : 2227128662 Resilient Hash Seed : 2227128662 Inet RTAG7 Settings -------------------- Inet packet fields Protocol : enable Source L4 Port : tcp, udp, sctp Destination L4 Port : tcp, udp, sctp 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, sctp Destination L4 Port : tcp, udp IPV6 Source Address : enable IPV6 Destination Address : enable Flow label : enable MPLS RTAG7 settings- -------------------- label : enable VXLAN Settings ------------------------- Vxlan Id : disable Layer 2 Settings ------------------------- Source Mac Address : disable Destination Mac Address : disable Vlan Id : enable Inner Vlan Id : enable Incoming Interface : disable
Release Information
Command introduced in Junos OS Release 13.2X51-D15.
Fabric Load Balancing Options
output fields introduced in Junos OS
Release 14.1X53-D10.
Incoming port
output field introduced in Junos OS Release 18.4R1 for
QFX10000 Series switches.
Command introduced in Junos OS Evolved Release 21,3R1.
The ecmp-dlb
statement introduced in Junos OS Evolved Release 19.4R2
for QFX5220 switches.