这里使用交换机万兆口3口与4口做的链路聚合,为trunk模式
创建ETH-trunk1
[HUAWEI]interface Eth-Trunk 1
链路聚合模式为trunk模式,并且放通全部vlan
[HUAWEI-Eth-Trunk1]port link-type trunk
[HUAWEI-Eth-Trunk1]port trunk allow-pass vlan all
将XG0/0/3与XG0/0/4加入到ETH-trunk1中
[HUAWEI]interface XGigabitEthernet 0/0/3
[HUAWEI-XGigabitEthernet0/0/3]eth-trunk 1
Info: This operation may take a few seconds. Please wait a moment.
Info: The operation is successful.
[HUAWEI-XGigabitEthernet0/0/3]interface XGigabitEthernet 0/0/4
[HUAWEI-XGigabitEthernet0/0/4]et
[HUAWEI-XGigabitEthernet0/0/4]eth-trunk tr
[HUAWEI-XGigabitEthernet0/0/4]eth-trunk 1
Info: This operation may take a few seconds. Please wait a moment.
Info: The operation is successful.
[HUAWEI-Eth-Trunk1]display 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: 32
Operate status: down Number Of Up Port In Trunk: 0
--------------------------------------------------------------------------------
PortName Status Weight
XGigabitEthernet0/0/3 Down 1
XGigabitEthernet0/0/4 Down 1