LSW1
<Huawei>undo t m
<Huawei>sy
[Huawei]sy SW1
[SW1]stp mode stp
[SW1]stp priority 0
[SW1]display stp brief
LSW2
<Huawei>undo t m
<Huawei>sy
[Huawei]sy SW2
[SW2]stp mode stp
[SW2]stp priority 4096
LSW3
<Huawei>undo t m
<Huawei>sy
[Huawei]sy SW3
[SW3]stp mode stp
SW1
<Huawei>undo t m
<Huawei>sy
[Huawei]sy R1
[R1]sy SW1
[SW1]int et 1
[SW1-Eth-Trunk1]trunkport e0/0/1
[SW1-Eth-Trunk1]trunkport e0/0/2
[SW1-Eth-Trunk1]trunkport e0/0/3
SW2
<Huawei>undo t m
<Huawei>sy
[Huawei]sy SW@
[SW@]sy SW2
[SW2]int et 1
[SW2-Eth-Trunk1]trunkport e0/0/1
[SW2-Eth-Trunk1]trunkport e0/0/2
[SW2-Eth-Trunk1]trunkport e0/0/3
LSW3
<Huawei>undo t m
<Huawei>sy
[Huawei]sy SW1
[SW1]int et 1
[SW1-Eth-Trunk1]mode lacp-static
[SW1-Eth-Trunk1]trunkport e0/0/1
[SW1-Eth-Trunk1]trunkport e0/0/2
[SW1-Eth-Trunk1]trunkport e0/0/3
[SW1-Eth-Trunk1]max active-linknumber 2
[SW1-Eth-Trunk1]q
[SW1]lacp priority 200
[SW1]int e0/0/2
[SW1-Ethernet0/0/2]lacp priority 200
[SW1-Ethernet0/0/2]int e0/0/3
[SW1-Ethernet0/0/3]lacp priority 200
[SW1-Ethernet0/0/3]int et 1
[SW1-Eth-Trunk1]lacp preempt enable
[SW1-Eth-Trunk1]lacp preempt delay 10
[SW1-Eth-Trunk1]load-balance src-dst-mac
LSW4
<Huawei>undo t m
<Huawei>sy
[Huawei]sy SW2
[SW2]int et 1
[SW2-Eth-Trunk1]mode lacp-static
[SW2-Eth-Trunk1]trunkport e0/0/1
[SW2-Eth-Trunk1]trunkport e0/0/2
[SW2-Eth-Trunk1]trunkport e0/0/3
[SW2-Eth-Trunk1]max active-linknumber 2
[SW2-Eth-Trunk1]int e0/0/2
[SW2-Ethernet0/0/2]lacp priority 200
[SW2-Ethernet0/0/2]int e0/0/3
[SW2-Ethernet0/0/3]lacp priority 200
[SW2-Ethernet0/0/3]int et 1
[SW2-Eth-Trunk1]lacp preempt enable
[SW2-Eth-Trunk1]lacp pre delay 10
[SW2-Eth-Trunk1]load-balance src-dst-mac