操作步驟
在SwitchA上創(chuàng)建Eth-Trunk1并配置為LACP模式。SwitchB配置過程與SwitchA類似庆锦,不再贅述
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 997 to 999 1007 to 1008 1011
mode lacp
max active-linknumber 1
配置SwitchA上的成員接口加入Eth-Trunk秘豹。SwitchB配置過程與SwitchA類似,不再贅述
interface XGigabitEthernet0/0/1
description shangxing 1G
eth-trunk 1
interface XGigabitEthernet0/0/2
description shangxing 1G
eth-trunk 1
查看聚合狀態(tài)
[SW-Bridge-Aggregation1]port link-type trunk //改為trunk模式
[SW-Bridge-Aggregation1]port trunk permit vlan all //所有的vlan適用
刪除鏈路聚合:
步驟1 將原來已加入的聚合組的端口退出
步驟2 刪除聚合組
命令參考如下纳本,(具體的端口號,聚合組 請根據(jù)你的實(shí)際情況修改):
interface GigabitEthernet 0/8
undo port link-aggregation group 1
quit
undo link-aggregation group 1
查看命令:
display link-aggregation summary
[S1]display link-aggregation verbose
負(fù)載分擔(dān):
[S1]link-aggregation load-sharing mode destination-mac 兩端都配置(貌似接口也可以配置)
[SW]save //保存配置信息
[SW]reboot //重啟交換機(jī)