An E-Trunk forwards packets through its member interfaces, which can be Eth-Trunk interfaces or global VE interfaces.
Two E-Trunk-enabled devices must have the same E-Trunk ID, whereas the E-Trunk member interfaces can have different IDs. If two interfaces to be added to an E-Trunk have different IDs, the ID of the remote E-Trunk member interface must be specified when the local interface is added to an E-Trunk as a member interface.
Run system-view
The system view is displayed.
Run interface eth-trunk trunk-id
The Eth-Trunk interface view is displayed.
Only Eth-Trunk interfaces in static LACP mode or manual load balancing mode can be added to E-Trunks.
If an Eth-Trunk interface in static LACP mode is added to an E-Trunk, do not configure the maximum number of active links for the Eth-Trunk interface on each of the dual-homing E-Trunk-enabled devices for user access. Otherwise, LACP cannot select correct interfaces as active interfaces for service forwarding.
Run e-trunk e-trunk-id [ remote-eth-trunk eth-trunk-id ]
The Eth-Trunk interface is added to the specified E-Trunk.
An Eth-Trunk interface can be added only to one E-Trunk.
If you want to add the Eth-Trunk interfaces with different IDs to the same E-Trunk, specify remote-eth-trunk in the command to ensure that the E-Trunk works properly.
Run system-view
The system view is displayed.
Run interface global-ve ve-number
A global VE interface is created, and its view is displayed.
Run ve-group ve-group-id l2-terminate
The global VE interface is configured as an L2VE interface.
Run e-trunk e-trunk-id [ remote-global-ve global-ve-id ]
The global VE interface is added to the specified E-Trunk.
A global VE interface can be added only to one E-Trunk. If you want to add it to another E-Trunk, first remove it from the existing E-Trunk. In addition, one E-Trunk allows only one global VE interface to be added to it.