Hello,
You can use the******mands to configure a load-balancing profile: - first create a load-balancing profile:
In the load balancing profile a, set the load balancing mode of IPv4 packets to l4-sport and l4-dport, that is, load balancing based on source and destination port types of IPv4 packets.
<HUAWEI> system-view
[HUAWEI] load-balance-profile a
[HUAWEI-load-balance-profile-a] ipv4 field l4-dport l4-sport
Format
ipv4 field [ dip | l4-dport | l4-sport | protocol | sip | sport | vlan ] *
undo ipv4 field [ dip | l4-dport | l4-sport | protocol | sip | sport | vlan ] *
NOTE:Only dip, sip, and sport are supported on the S1720X, S1720X-E, S5730SI, S5730S-EI, S6720LI, S6720S-LI, S6720SI, and S6720S-SI.
Secondly:
# Set the load balancing mode of Eth-Trunk 1 to a.
<HUAWEI> system-view
[HUAWEI] interface Eth-Trunk 1
[HUAWEI-Eth-Trunk1] load-balance enhanced profile a
Format
load-balance { dst-ip | dst-mac | src-ip | src-mac | src-dst-ip | src-dst-mac | enhanced profile profile-name }
undo load-balance
NOTE:Only S1720X, S1720X-E, S5720EI, S5720HI, S5730SI, S5730S-EI, S6720LI, S6720S-LI, S6720SI, S6720S-SI, S6720EI, and S6720S-EI support enhanced profile profile-name.
So you need one of these switches to acomplish this scenario.
This post was last edited by Sergio93 at 2018-09-26 05:55.