1、配置基础:交换机S1和S2名称、关闭接口的自协商功能、接口速率设为100Mbit/s
<Huawei>system-view
[Huawei]sysname S1
[S1]interface g0/0/9
[S1-GigabitEthernet0/0/9]undo negotiation auto
[S1-GigabitEthernet0/0/9]speed 100
[S1-GigabitEthernet0/0/9]q
[S1]interface g0/0/10
[S1-GigabitEthernet0/0/10]undo negotiation auto
[S1-GigabitEthernet0/0/10]speed 100
[S1-GigabitEthernet0/0/10]q
[S1]
S2同理
2、验证S1和S2的G0/0/9和G0/0/10接口速率配置成功
3、配置手动模式的链路聚合
[S1]
[S1]int eth 1
[S1-Eth-Trunk1]trunkport GigabitEthernet 0/0/9
[S1-Eth-Trunk1]trunkport GigabitEthernet 0/0/10
[S1-Eth-Trunk1]q
[S1]dis etn t
[S1]dis etn t1
Error: Unrecognized command found at '^' position.
[S1]dis eth t1
^
Error: Wrong parameter found at '^' position.
[S1]dis eth
Eth-Trunk1's state information is:
WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
Operate status: up Number Of Up Port In Trunk: 2
--------------------------------------------------------------------------------
PortName Status Weight
GigabitEthernet0/0/9 Up 1
GigabitEthernet0/0/10 Up 1
S2同理;
或进入接口后加入链路聚合组
验证eth-trunk的配置结果
[S1]dis eth-trunk 1