S series switch export flow load balancing recommended which way to use


If you know the size of the traffic in a specific network segment in advance, you can manually specify a traffic-based routepolicy to let the specified traffic go out from the specified out port.
If you can determine the SIP (source IP address) of the traffic flow, DIP (destination IP address) is decentralized, you can use equal-cost routing to share traffic.

Other related questions:
How to configure load balancing for the Eth-Trunk on S series switches
S series switches (except the S1700) use a per-flow load balancing mechanism, which ensures that frames of the same data flow are forwarded on the same physical link, and different data flows are forwarded on different physical links. You can configure common load balancing mode to implement load balancing based on IP addresses or MAC addresses of packets. For L2, IP, and MPLS packets, you can also configure enhanced load balancing mode. Load balancing takes effect only for the outbound traffic. Therefore, load balancing modes can be different on the two ends of a link. 1. Commands for configuring common load balancing mode: [HUAWEI] interface Eth-Trunk 1 [HUAWEI-Eth-Trunk1] load-balance dst-mac 2. Commands for configuring enhanced load balancing mode: [HUAWEI] load-balance-profile a [HUAWEI-load-balance-profile-a] l2 field smac [HUAWEI-load-balance-profile-a] quit [HUAWEI] interface Eth-Trunk 1 [HUAWEI-Eth-Trunk1] load-balance enhanced profile a For configuration cases about common load balancing mode, see "Typical Ethernet Switching Configuration -Link Aggregation Configuration- Example for Configuring Link Aggregation in Manual Mode When Switches Are Directly Connected" in S1720&S2700&S3700&S5700&S6700&S7700&S9700 Typical Configuration Examples. The configuration cases of common load balancing are applicable to all S series switch models. The Sx700 series switch is used here as an example.

Do S series switches support ratio-based load balancing
S series switches (except the S1700) support per-flow load balancing but do not support ratio-based load balancing.

Which is the recommended load balancing mode on S series switches
Q: Which is the recommended load balancing mode on S series switches? A: If you know the rate of traffic from specified network segments, configure flow-based policy routing to forward traffic from specified network segments through specified outbound interfaces. If you have confirmed that the source and destination IP addresses of service flows are discrete, configure equal-cost routes to load balance the service flows.

Configure NetStream on S series switches
NetStream is a traffic statistics and analysis technology. NetStream supports exporting of original, aggregation, and flexible flow statistics. The following is an example of configuring exporting of original flow on an S series switch (except the S1700). 1. Configure NetStream sampling on GE1/0/1, set the sampling mode to packet-based regular sampling, and set the interval to 1200. [HUAWEI] interface gigabitethernet 1/0/1 [HUAWEI-GigabitEthernet1/0/1] ip netstream sampler fix-packets 1200 inbound [HUAWEI-GigabitEthernet1/0/1] ip netstream sampler fix-packets 1200 outbound [HUAWEI-GigabitEthernet1/0/1] quit 2. Set the inactive aging time to 100 seconds and enable FIN- and RST-based aging. [HUAWEI] ip netstream timeout inactive 100 [HUAWEI] ip netstream tcp-flag enable 3. Set the source IP address of the exported packets carrying original flow statistics to, destination IP address to, and destination port number to 6000. [HUAWEI] ip netstream export source [HUAWEI] ip netstream export host 6000 4. Set the version of exported packets to version 9. [HUAWEI] ip netstream export version 9 5. Enable NetStream flow statistics collection on GE1/0/1. [HUAWEI] interface gigabitethernet 1/0/1 [HUAWEI-GigabitEthernet1/0/1] ip netstream inbound [HUAWEI-GigabitEthernet1/0/1] ip netstream outbound [HUAWEI-GigabitEthernet1/0/1] quit [HUAWEI] quit

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