跳转到内容
Ask AI

ECMP Configuration Guide

此内容尚不支持你的语言。

Equal-Cost Multi-Path is an important technology for improving network performance and reliability. Through specific algorithms, network traffic is evenly distributed to multiple links or ports, avoiding congestion on a single link or port due to excessive traffic and fully utilizing network bandwidth resources. When a link fails, the switch can automatically switch traffic to other normal links to achieve redundant backup. Common load sharing methods include source MAC, destination MAC, source IP, destination IP, and their combinations, which are suitable for scenarios such as server cluster access, core layer and aggregation layer interconnection. By configuring functions such as link aggregation and policy routing, switches can efficiently complete load sharing tasks, ensuring stable network operation and high-speed data.

Table 1 Load balancing Default Setting

ParameterDefault value
hash seed10
IPv4 type hash keyvlan_id/ip-protocol/src-ip/dst-ip/l4-src-port/l4-dst-port
IPv6 type hash keyvlan-id/src-ipv6/dst-ipv6/l4-src-port/l4-dst-port/in-port/nextheader/flow-label
Non IP type hash keysrc-mac/dst-mac/ethertype/vlan-id

Table 2 Configure Load Balancing Mode

PurposeCommandsDescription
Enter global configuration viewconfigure terminal-
Configure load balancing mode and keyhash mode {ipv4|ipv6|non-ip} hash_key-

After configuring hash enhancement, the value of hash seed will be randomly modified on the switch with an interval of 1ms. When there are multiple equivalent forwarding paths after the traffic reaches the switch, hash enhancement can be enabled to share the load of traffic on these multiple forwarding paths.

Table 3 Enable hash enhancement

PurposeCommandsDescription
Enter global configuration view.configure terminal-
Enable hash enhancementhash enhancement-