How can I configure an Eth-Trunk on CE switches to preferentially forward local traffic

11

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

Other related questions:
Whether the function that preferentially forwards local traffic on an Eth-Trunk is enabled by default on CE switches
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.

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

How to prevent network flapping caused by changes of Eth-Trunk member interfaces on CE switches
The path cost of Eth-Trunks change when Eth-Trunk member interfaces go Up or Down. In this case, STP recalculates the path cost and spanning tree, causing network topology changes and network flapping. You can run the stp [ process process-id ] [ instance instance-id ] cost cost command in the Eth-Trunk interface view to set the path cost of Eth-Trunks to a fixed value. In this way, the changes of Eth-Trunk member interfaces do not affect the path cost, preventing network topology changes. For example, set the path cost of Eth-Trunk 1 to 200. system-view [~HUAWEI] interface eth-trunk 1 [*HUAWEI-Eth-Trunk1] stp cost 200 [*HUAWEI-Eth-Trunk1] 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.

Can an Eth-Trunk be configured as a mirrored port on CE switches
An Eth-Trunk can be configured as a mirrored port.
- If an Eth-Trunk is configured as a mirrored port, its member ports cannot be configured as mirrored ports.
- If a member port of an Eth-Trunk is configured as a mirrored port, the Eth-Trunk cannot be configured as a mirrored port.

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