组网图形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