組網圖形html
手工模式鏈路聚合簡介網絡
配置注意事項ui
組網需求spa
配置思路orm
操做步驟htm
<HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] interface eth-trunk 1 //建立ID爲1的Eth-Trunk接口 [SwitchA-Eth-Trunk1] trunkport gigabitethernet 0/0/1 to 0/0/3 //在Eth-Trunk1接口中加入GE0/0/1到GE0/0/3三個成員接口 [SwitchA-Eth-Trunk1] quit
<HUAWEI> system-view [HUAWEI] sysname SwitchB [SwitchB] interface eth-trunk 1 //建立ID爲1的Eth-Trunk接口 [SwitchB-Eth-Trunk1] trunkport gigabitethernet 0/0/1 to 0/0/3 //在Eth-Trunk1接口中加入GE0/0/1到GE0/0/3三個成員接口 [SwitchB-Eth-Trunk1] quit
# 建立VLAN10和VLAN20並分別加入接口。SwitchB的配置與SwitchA相似,再也不贅述blog
[SwitchA] vlan batch 10 20 [SwitchA] interface gigabitethernet 0/0/4 [SwitchA-GigabitEthernet0/0/4] port link-type trunk //設置接口鏈路類型爲trunk,接口缺省鏈路類型不是trunk口 [SwitchA-GigabitEthernet0/0/4] port trunk allow-pass vlan 10 [SwitchA-GigabitEthernet0/0/4] quit [SwitchA] interface gigabitethernet 0/0/5 [SwitchA-GigabitEthernet0/0/5] port link-type trunk //設置接口鏈路類型爲trunk,接口缺省鏈路類型不是trunk口 [SwitchA-GigabitEthernet0/0/5] port trunk allow-pass vlan 20 [SwitchA-GigabitEthernet0/0/5] quit
# 配置Eth-Trunk1接口容許VLAN10和VLAN20經過。SwitchB的配置與SwitchA相似,再也不贅述。接口
[SwitchA] interface eth-trunk 1 [SwitchA-Eth-Trunk1] port link-type trunk //設置接口鏈路類型爲trunk,接口缺省鏈路類型不是trunk口 [SwitchA-Eth-Trunk1] port trunk allow-pass vlan 10 20 [SwitchA-Eth-Trunk1] quit
[SwitchA] interface eth-trunk 1 [SwitchA-Eth-Trunk1] load-balance src-dst-mac //配置Eth-Trunk1基於源MAC地址與目的MAC地址進行負載分擔 [SwitchA-Eth-Trunk1] quit
[SwitchA] display eth-trunk 1 //檢查Eth-Trunk是否建立成功,及成員接口是否正確加入。 Eth-Trunk1's state information is: WorkingMode: NORMAL Hash arithmetic: According to SA-XOR-DA Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 3 -------------------------------------------------------------------------------- PortName Status Weight GigabitEthernet0/0/1 Up 1 GigabitEthernet0/0/2 Up 1 GigabitEthernet0/0/3 Up 1