ECMP Configuration Guide
此内容尚不支持你的语言。
Introduction
Section titled “Introduction”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.
ECMP Configure
Section titled “ECMP Configure”Default setting
Section titled “Default setting”Table 1 Load balancing Default Setting
| Parameter | Default value |
|---|---|
| hash seed | 10 |
| IPv4 type hash key | vlan_id/ip-protocol/src-ip/dst-ip/l4-src-port/l4-dst-port |
| IPv6 type hash key | vlan-id/src-ipv6/dst-ipv6/l4-src-port/l4-dst-port/in-port/nextheader/flow-label |
| Non IP type hash key | src-mac/dst-mac/ethertype/vlan-id |
Configure Load Balancing Mode
Section titled “Configure Load Balancing Mode”Table 2 Configure Load Balancing Mode
| Purpose | Commands | Description |
|---|---|---|
| Enter global configuration view | configure terminal | - |
| Configure load balancing mode and key | hash mode {ipv4|ipv6|non-ip} hash_key | - |
Configure hash enhancement
Section titled “Configure hash enhancement”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
| Purpose | Commands | Description |
|---|---|---|
| Enter global configuration view. | configure terminal | - |
| Enable hash enhancement | hash enhancement | - |