二层链路聚合配置
[Huawei]int eth-trunk 1 //创建聚合链路
[Huawei]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]eth-trunk 1 //划分端口
[Huawei]q
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]eth-trunk 1
[Huawei-GigabitEthernet0/0/2]
[Huawei]dis int eth-trunk 1
Eth-Trunk1 current state : UP
Line protocol current state : UP
Description:
Switch Port, PVID : 1, Hash arithmetic : According to SIP-XOR-DIP,Maximal BW:
2G, Current BW: 2G, The Maximum Frame Length is 9216
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 4c1f-cc32-6785
Current system time: 2020-08-14 16:35:12-08:00
Input bandwidth utilization : 0%
Output bandwidth utilization : 0%
-----------------------------------------------------
PortName Status Weight
-----------------------------------------------------
GigabitEthernet0/0/1 UP 1
GigabitEthernet0/0/2 UP 1
-----------------------------------------------------
The Number of Ports in Trunk : 2
The Number of UP Ports in Trunk : 2
三层链路聚合配置
[Huawei]int Eth-Trunk 1
[Huawei-Eth-Trunk1]undo portswitch
[Huawei-Eth-Trunk1]q
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]eth-trunk 1
[Huawei-GigabitEthernet0/0/0]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]eth-trunk 1
[Huawei-GigabitEthernet0/0/1]q
[Huawei]int Eth-Trunk 1
[Huawei-Eth-Trunk1]ip address 192.168.1.1 24
[Huawei-Eth-Trunk1]q
[Huawei]dis eth-trunk 1
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/0 Up 1
GigabitEthernet0/0/1 Up 1
*删除链路聚合组中删除成员接口
在接口视图下执行undo eth-trunk命令。
在Eth-Trunk视图下执行undo trunkport interface-type { interface-number1 [ to interface-number2 ] } &<1-8>命令