The e-trunk command adds an Eth-Trunk interface to a specified E-Trunk.
The undo e-trunk command removes an Eth-Trunk interface from an E-Trunk.
By default, an E-Trunk does not have any Eth-Trunk interfaces.
Parameter | Description | Value |
---|---|---|
remote-eth-trunk eth-trunk-id |
Specifies the ID of the remote Eth-Trunk interface. If you want to add Eth-Trunk interfaces with different IDs on two devices to the same E-Trunk, you must specify remote Eth-Trunk IDs for the E-Trunk to work properly. |
The value is an integer ranging from 0 to 4294967295. |
e-trunk e-trunk-id |
Specifies an E-Trunk ID and ID range is customized by product. |
The value is an integer ranging from 1 to 512. |
Usage Scenario
After an E-Trunk is created, run the e-trunk command in the Eth-Trunk interface view to add an Eth-Trunk interface to the E-Trunk so that the E-Trunk takes effect.
Precautions
Only Eth-Trunk interfaces in manual load balancing mode and static Link Aggregation Control Protocol (LACP) mode can be added to an E-Trunk.
<HUAWEI> system-view [~HUAWEI] e-trunk 4 [*HUAWEI-e-trunk-4] quit [*HUAWEI] interface Eth-Trunk 40 [*HUAWEI-Eth-Trunk40] mode lacp-static [*HUAWEI-Eth-Trunk40] e-trunk 4
<HUAWEI> system-view [~HUAWEI] e-trunk 3 [*HUAWEI-e-trunk-3] quit [*HUAWEI] interface Eth-Trunk 30 [*HUAWEI-Eth-Trunk30] mode manual load-balance [*HUAWEI-Eth-Trunk30] e-trunk 3