LSW6
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int e0/0/2
[zjlfc-Ethernet0/0/2]port link-type access
[zjlfc-Ethernet0/0/2]q
[zjlfc]v b 10
[zjlfc]int e0/0/2
[zjlfc-Ethernet0/0/2]po de v 10
[zjlfc-Ethernet0/0/2]int e0/0/1
[zjlfc-Ethernet0/0/1]port link-type trunk
[zjlfc-Ethernet0/0/1]port trunk allow-pass vlan all
LSW7
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]v b 20
[zjlfc]int e0/0/2
[zjlfc-Ethernet0/0/2]port link-type access
[zjlfc-Ethernet0/0/2]port de v 20
[zjlfc-Ethernet0/0/2]int e0/0/1
[zjlfc-Ethernet0/0/1]port link-type trunk
[zjlfc-Ethernet0/0/1]po t a v a
LSW5
<Huawei>undo t m
<Huawei>sy
[Huawei]v b 10 20
[Huawei]sy zjlfc
[zjlfc]int e0/0/1
[zjlfc-Ethernet0/0/1]port link-type t
[zjlfc-Ethernet0/0/1]po t a v a
[zjlfc-Ethernet0/0/1]int e0/0/2
[zjlfc-Ethernet0/0/2]port link-t t
[zjlfc-Ethernet0/0/2]po t a v a
[zjlfc-Ethernet0/0/2]int v10
[zjlfc-Vlanif10]ip ad 192.168.1.254 24
[zjlfc-Vlanif10]int v 20
[zjlfc-Vlanif20]ip ad 192.168.2.254 24