华为:交换机端口汇集

华为:交换机端口汇集
LSW1]int vlan 1
[LSW1-Vlanif1]ip add 1.1.1.1 24
[LSW1-Vlanif1]q
下面命令顺序必须一致
[LSW1]int Eth-Trunk 1
LSW1-Eth-Trunk1]trunkport e 0/0/1 to 0/0/2
[LSW1-Eth-Trunk1]mode lacp-static
LSW1-Eth-Trunk1]q

LSW2]int vlan 1
[LSW2-Vlanif1]ip add 1.1.1.2 24
[LSW2-Vlanif1]q
下面命令顺序必须一致
[LSW2]int Eth-Trunk 1
[LSW2-Eth-Trunk1]trunkport e 0/0/1 to 0/0/2
[LSW2-Eth-Trunk1]mode lacp-static
[LSW2-Eth-Trunk1]q
[LSW2]ping 1.1.1.1
PING 1.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=60 ms
Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=50 ms
Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=50 ms
Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=40 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=50 ms

— 1.1.1.1 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 40/50/60 ms