Whether the function that preferentially forwards local traffic on an Eth-Trunk is enabled by default on CE switches

22

The local traffic preferential forwarding function on an Eth-Trunk is enabled by default.
To disable local traffic preferential forwarding, run the local-preference disable command in the Eth-Trunk interface view.

Other related questions:
How can I configure an Eth-Trunk on CE switches to preferentially forward local traffic
Run the undo local-preference disable command in the Eth-Trunk interface view to enable preferential local traffic forwarding on the Eth-Trunk.

<HUAWEI> system-view
[~HUAWEI] interface eth-trunk 10
[*HUAWEI-Eth-Trunk10] undo local-preference disable
[*HUAWEI-Eth-Trunk10] commit

How is uneven load balancing of an Eth-Trunk solved on CE switches
Load balancing modes in different service scenarios are different. If load balancing of an Eth-Trunk is uneven, it is generally caused by the inappropriate load balancing mode. Perform the following operations to solve the problem: 1. Check whether the number of Eth-Trunk member interfaces is the nth power of 2. If not, adjust the number of Eth-Trunk member interfaces to the nth power of 2. 2. Adjust the load balancing mode. If the IP address in packets changes frequently, use load balancing based on the source or destination IP address so that traffic can be evenly load balanced among physical links. If the MAC address in packets changes frequently and the IP address is fixed, use load balancing based on the source or destination MAC address so that traffic can be evenly load balanced among physical links. If packets are random, you are advised to add the hash factor. 3. Adjust the hash algorithm. CE7800&CE6800&CE5800 series switches: eth-trunk { hash-mode hash-mode-id | universal-id universal-id } * CE12800 series switches: eth-trunk { src-interface | seed seed-data | universal-id universal-id | hash-mode hash-mode-id } * Note: The load balancing mode is valid only for the outbound interface of traffic. If traffic of the inbound interface is uneven, change the load balancing mode of the outbound interface on the uplink device. In the scenario where Eth-Trunk and ECMP are deployed and traffic is unevenly load balanced, configure different hash algorithms for the Eth-Trunk and ECMP and change the value of universal-id as needed.

How can I delete an Eth-Trunk on a CE switch
Before deleting an Eth-Trunk, delete Eth-Trunk member interfaces. For example, Eth-Trunk 2 has two member interfaces: 10GE1/0/1 and 10GE1/0/2. To delete Eth-Trunk 2, perform the following configurations: system-view [~HUAWEI] interface eth-trunk 2 [~HUAWEI-Eth-Trunk2] undo trunkport 10ge 1/0/1 [*HUAWEI-Eth-Trunk2] undo trunkport 10ge 1/0/2 [*HUAWEI-Eth-Trunk2] commit [~HUAWEI-Eth-Trunk2] quit [~HUAWEI] undo interface eth-trunk 2 [*HUAWEI] commit

Traffic is not forwarded through all member interfaces of an Eth-Trunk in a stack. Why
When a stack device forwards traffic, an Eth-Trunk may select a member interface of another stack device through the hash algorithm, which occupies bandwidth resources between stack devices and reduces the traffic forwarding efficiency. To address the preceding problem, run the local-preference enable command to enable the Eth-Trunk to preferentially forward local traffic. That is, traffic arriving at the local device is preferentially forwarded through member interfaces of the local device. If the local device has no member interface, the member interface of another stack device is used to forward traffic. This saves bandwidth resources between stack devices and improves the traffic forwarding efficiency. By default, an Eth-Trunk is enabled to preferentially forward local traffic. Before configuring an Eth-Trunk to preferentially forward local traffic, ensure that the outbound bandwidth of Eth-Trunk member interfaces is sufficient for forwarding local traffic. If the outbound interface bandwidth is insufficient, some packets are dropped.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top