07_LACP负载分担(数通华为)
作者:互联网
1. 网络拓扑
2. SW1配置:
[SW1]vlan batch 10 20
[SW1]interface GigabitEthernet 0/0/1
[SW1-GigabitEthernet0/0/1]port link-type access
[SW1-GigabitEthernet0/0/1]port default vlan 10
[SW1]interface GigabitEthernet 0/0/2
[SW1-GigabitEthernet0/0/2]port link-type access
[SW1-GigabitEthernet0/0/2]port default vlan 20
创建一个聚合链路接口:
[SW1]lacp priority 1
[SW1]interface Eth-Trunk 1
[SW1-Eth-Trunk1]mode lacp-static
[SW1-Eth-Trunk1]max active-linknumber 2
[SW1-Eth-Trunk1]port link-type trunk
[SW1-Eth-Trunk1]port trunk allow-pass vlan 10 20
将端口加入聚合:
[SW1]interface GigabitEthernet 0/0/22
[SW1-GigabitEthernet0/0/22]eth-trunk 1
[SW1]interface GigabitEthernet 0/0/23
[SW1-GigabitEthernet0/0/23]eth-trunk 1
[SW1]interface GigabitEthernet 0/0/24
[SW1-GigabitEthernet0/0/24]eth-trunk 1
3. SW3配置:
以下不用配置:(其余与SW1配置相同)
[SW1]lacp priority 1
[SW1-Eth-Trunk1]max active-linknumber 2
4. 查看配置
标签:07,数通,GigabitEthernet,GigabitEthernet0,LACP,interface,SW1,Eth,port 来源: https://www.cnblogs.com/luwei0915/p/12076437.html