LSW3
<Huawei>undo t m
<Huawei>sy
[Huawei]int e0/0/1
[Huawei-Ethernet0/0/1]po
[Huawei-Ethernet0/0/1]port l
[Huawei-Ethernet0/0/1]port link-t
[Huawei-Ethernet0/0/1]port link-type a
[Huawei-Ethernet0/0/1]q
[Huawei]v b 10
[Huawei]int e0/0/1
[Huawei-Ethernet0/0/1]po
[Huawei-Ethernet0/0/1]port de v 10
[Huawei-Ethernet0/0/1]int e0/0/2
[Huawei-Ethernet0/0/2]po
[Huawei-Ethernet0/0/2]port l
[Huawei-Ethernet0/0/2]port link-t t
[Huawei-Ethernet0/0/2]po t a v a
LSW4
The device is running!
<Huawei>undo t m
<Huawei>sy
[Huawei]v b 20
[Huawei]int e0/0/2
[Huawei-Ethernet0/0/2]po
[Huawei-Ethernet0/0/2]port l
[Huawei-Ethernet0/0/2]port link-t a
[Huawei-Ethernet0/0/2]int e0/0/1
[Huawei-Ethernet0/0/1]int e0/0/2
[Huawei-Ethernet0/0/2]po de v 20
[Huawei-Ethernet0/0/2]int e0/0/1
[Huawei-Ethernet0/0/1]po
[Huawei-Ethernet0/0/1]port l
[Huawei-Ethernet0/0/1]port link-t t
[Huawei-Ethernet0/0/1]po t a v a
LSW5
<Huawei>undo t m
<Huawei>sy
[Huawei]v b 30
[Huawei]int e0/0/1
[Huawei-Ethernet0/0/1]po
[Huawei-Ethernet0/0/1]port l
[Huawei-Ethernet0/0/1]port link-t a
[Huawei-Ethernet0/0/1]po de v 30
[Huawei-Ethernet0/0/1]int e0/0/2
[Huawei-Ethernet0/0/2]po
[Huawei-Ethernet0/0/2]port l
[Huawei-Ethernet0/0/2]port link-t t
[Huawei-Ethernet0/0/2]po t a v a
LSW6
<Huawei>undo t m
Info: Current terminal monitor is off.
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]v b 40
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]int e0/0/2
[Huawei-Ethernet0/0/2]po
[Huawei-Ethernet0/0/2]port l
[Huawei-Ethernet0/0/2]port link-t a
[Huawei-Ethernet0/0/2]po de v 40
[Huawei-Ethernet0/0/2]int e0/0/1
[Huawei-Ethernet0/0/1]po
[Huawei-Ethernet0/0/1]port l
[Huawei-Ethernet0/0/1]port link-t t
[Huawei-Ethernet0/0/1]po t a v a
LSW1
<Huawei>undo t m
<Huawei>sy
[Huawei]v b 10 20 12
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]po
[Huawei-GigabitEthernet0/0/1]port l
[Huawei-GigabitEthernet0/0/1]port link-t t
[Huawei-GigabitEthernet0/0/1]po t a v a
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]po
[Huawei-GigabitEthernet0/0/2]port l
[Huawei-GigabitEthernet0/0/2]port link-t t
[Huawei-GigabitEthernet0/0/2]po t a v a
[Huawei-GigabitEthernet0/0/2]int v10
[Huawei-Vlanif10]ip ad 10.1.1.254 24
[Huawei-Vlanif10]int v 20
[Huawei-Vlanif20]ip ad 10.1.2.254 24
[Huawei-Vlanif20]q
[Huawei]int et 1
[Huawei-Eth-Trunk1]mo
[Huawei-Eth-Trunk1]mode l
[Huawei-Eth-Trunk1]mode lacp-static
[Huawei-Eth-Trunk1]t
[Huawei-Eth-Trunk1]trunkport g0/0/4
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-Eth-Trunk1]trunkport g0/0/5
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-Eth-Trunk1]trunkport g0/0/6
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-Eth-Trunk1]q
[Huawei]lacp pri 200
[Huawei]int et 1
[Huawei-Eth-Trunk1]max a
[Huawei-Eth-Trunk1]max active-linknumber 2
[Huawei-Eth-Trunk1]int g0/0/5
[Huawei-GigabitEthernet0/0/5]lacp pri 200
[Huawei-GigabitEthernet0/0/5]int g0/0/6
[Huawei-GigabitEthernet0/0/6]lacp pri 200
[Huawei-GigabitEthernet0/0/6]int et 1
[Huawei-Eth-Trunk1]lacp pre
[Huawei-Eth-Trunk1]lacp preempt en
[Huawei-Eth-Trunk1]lacp preempt enable
[Huawei-Eth-Trunk1]lacp pr
[Huawei-Eth-Trunk1]lacp preempt de
[Huawei-Eth-Trunk1]lacp preempt delay 10
[Huawei-Eth-Trunk1]q
[Huawei]v b 17
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]int g0/0/3
[Huawei-GigabitEthernet0/0/3]po
[Huawei-GigabitEthernet0/0/3]port l
[Huawei-GigabitEthernet0/0/3]port link-t
[Huawei-GigabitEthernet0/0/3]port link-type t
[Huawei-GigabitEthernet0/0/3]po t a v a
[Huawei-GigabitEthernet0/0/3]po
[Huawei-GigabitEthernet0/0/3]port t
[Huawei-GigabitEthernet0/0/3]port trunk p
[Huawei-GigabitEthernet0/0/3]port trunk pvid v
[Huawei-GigabitEthernet0/0/3]port trunk pvid vlan 17
[Huawei-GigabitEthernet0/0/3]int et 1
[Huawei-Eth-Trunk1]po
[Huawei-Eth-Trunk1]port l
[Huawei-Eth-Trunk1]port link-type a
[Huawei-Eth-Trunk1]port default vlan 12
[Huawei-Eth-Trunk1]int v12
[Huawei-Vlanif12]ip ad 12.1.1.1 24
[Huawei-Vlanif12]int v17
[Huawei-Vlanif17]ip ad 17.1.1.1 24
[Huawei-Vlanif17]ospf 1
[Huawei-ospf-1]a 0
[Huawei-ospf-1-area-0.0.0.0]net 10.1.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]net 10.1.2.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]net 12.1.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]net 17.1.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]
LSW2
<Huawei>undo t m
<Huawei>sy
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-t t
[Huawei-GigabitEthernet0/0/1]po t a v a
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-t t
[Huawei-GigabitEthernet0/0/2]po t a v a
[Huawei-GigabitEthernet0/0/2]q
[Huawei]v b 30 40
[Huawei]int v30
[Huawei-Vlanif30]ip ad 10.1.3.254 24
[Huawei-Vlanif30]int v 40
[Huawei-Vlanif40]ip ad 10.1.4.254 24
[Huawei-Vlanif40]q
[Huawei]v b 12
[Huawei]int et 1
[Huawei-Eth-Trunk1]trunkport g0/0/4
[Huawei-Eth-Trunk1]trunkport g0/0/5
[Huawei-Eth-Trunk1]trunkport g0/0/6
[Huawei-Eth-Trunk1]max a
[Huawei-Eth-Trunk1]max active-linknumber 2
[Huawei-Eth-Trunk1]int g0/0/5
[Huawei-GigabitEthernet0/0/5]lacp pri 200
[Huawei-GigabitEthernet0/0/5]int g0/0/6
[Huawei-GigabitEthernet0/0/6]lacp pri 200
[Huawei-GigabitEthernet0/0/6]lacp pre
[Huawei-GigabitEthernet0/0/6]int et 1
[Huawei-Eth-Trunk1]lacp pre en
[Huawei-Eth-Trunk1]lacp preempt delay 10
[Huawei-Eth-Trunk1]q
[Huawei] v b 27
[Huawei]int g0/0/3
[Huawei-GigabitEthernet0/0/3]port link-t t
[Huawei-GigabitEthernet0/0/3]po t a v a
[Huawei-GigabitEthernet0/0/3]port trunk pvid vlan 27
[Huawei-GigabitEthernet0/0/3]int et 1
[Huawei-Eth-Trunk1]port link-type a
[Huawei-Eth-Trunk1]po de v 12
[Huawei-Eth-Trunk1]int v12
[Huawei-Vlanif12]ip ad 12.1.1.2 24
[Huawei-Vlanif12]int v27
[Huawei-Vlanif27]ip ad 27.1.1.1 24
[Huawei-Vlanif27]ospf 1
[Huawei-ospf-1]a 0
[Huawei-ospf-1-area-0.0.0.0]net 12.1.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]net 27.1.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]net 10.1.3.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]net 10.1.4.0 0.0.0.255
LSW7
<Huawei>undo t m
<Huawei>sy
[Huawei] v b 27 17
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-t t
[Huawei-GigabitEthernet0/0/1]po t a v a
[Huawei-GigabitEthernet0/0/1]int v17
[Huawei-Vlanif17]ip ad 17.1.1.2 24
[Huawei-Vlanif17]int g0/0/2
[Huawei-GigabitEthernet0/0/2]po
[Huawei-GigabitEthernet0/0/2]port link-t t
[Huawei-GigabitEthernet0/0/2]po t a v a
[Huawei-GigabitEthernet0/0/2]int v27
[Huawei-Vlanif27]ip ad 27.1.1.2 24
[Huawei-Vlanif27]ospf 1
[Huawei-ospf-1]a 0
[Huawei-ospf-1-area-0.0.0.0]net 17.1.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]net 27.1.1.0 0.0.0.255
[Huawei-ospf-1-area-0.0.0.0]q
[Huawei-ospf-1]q
[Huawei]stp mo stp
[Huawei]stp pri 4096