ECMP Configuration Guide
5 min
\<font color="#1d50a2">introduction\</font> 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 \<font color="#1d50a2">ecmp configure\</font> \<font color="#1d50a2">default setting\</font> \<font color="#1d05a2">table 1 load balancing default setting\</font> 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 \<font color="#1d50a2">configure load balancing mode\</font> \<font color="#1d05a2">table 2 configure load balancing mode\</font> purpose commands description enter global configuration view configure terminal configure load balancing mode and key hash mode { ipv4 | ipv6 | non ip } hash key \<font color="#1d50a2">configure hash enhancement\</font> 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 \<font color="#1d05a2">table 3 enable hash enhancement\</font> purpose commands description enter global configuration view configure terminal enable hash enhancement hash enhancement
