Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

HASH KEY

HASH KEY means that when the traffic chooses the specific egress port of the aggregation group, the chip calculates the KEY value used by the port via HASH. Generally speaking, different packet types support different HASH KEY values, and different switch chips support different HASH KEY values. The HASH KEY values supported by different packets are shown in Table 1-1.

Table 1-1 The HASH KEY values supported by different packet types and their meanings

HASH KEY Type

Description

dst-mac

Based on destination MAC address: Realize the aggregation load balance by the destination MAC address of the packet

src-mac

Based on source MAC address: Realize the aggregation load balance by the source MAC address of the packet

src-interface

Based on the receiving source interface: Realize the aggregation load balance by the receiving source interface of the packet

vlan

Based on VLAN: Realize the aggregation load balance by the VLAN of the packet

dst-ip

Based on destination IP address: Realize aggregation load balance by the destination IP address of the packet

l4-dst-port Based on L4 destination port number: Realize aggregation load balance by the L4 destination port number of the packet
flow-label Based on IPv6 flow label: Realize the aggregation load balance by the IPv6 flow label of the packet
protocol Based on IP protocol: Realize the aggregation load balance by the IP protocol of the packet
src-ip Based on source IP address: Realize aggregation load balance by the source IP address of the packet
l4-src-port Based on L4 source port number: Realize aggregation load balance by the L4 source port number of the packet
Top-lable Realize the load balance based on mpls packet header label
2nd -lable Realize the load balance based on mpls packet L2 label
3rd-lable Realize the load balance based on mpls packet L3 label

In the local device, the HASH KEY values supported by different packets are shown in the following table:

Table 1-2 The HASH KEY values supported by different packets

Packet Type

Supported HASH KEY

L2 known unicast packet

dst-mac, src-mac, src-interface, vlan

L3 known unicast packet

dst-ip, l4-dst-port, flow-label, protocol, src- ip, l4-src-port, src-interface

Other L2 packets

dst-mac, src-mac, src-interface

Other L3 (IPv4/IPv6) packets

dst-ip, src-ip, src-interface

Mpls packet

Src-ip, dst-ip, top-lable, 2nd -lable, 3rd- lable

note


  • The HASH KEY of L2 known unicast packet can support combination of one or more HASH KEYs.
  • The HASH KEY of L3 known unicast packet can support combination of one or more HASH KEYs.
  • The HASH KEY values of other L2 packets are fixed, and cannot be configured, fixed to use dst-mac, src-mac, src-interface to perform the load balance.
  • The HASH KEY values of other L3 (IPv4/IPv6) packets are fixed, and cannot be configured, fixed to use dst-mac, src-mac, src-interface to perform the load balance.