eth-trunk
Function
The eth-trunk command adds an interface to an Eth-Trunk.
The undo eth-trunk command removes an interface from an Eth-Trunk.
By default, an interface does not belong to any Eth-Trunk.
Usage Guidelines
To improve the connection reliability and increase the bandwidth, you can use the eth-trunk command to bind multiple interfaces into an Eth-Trunk.
You can add an interface to an Eth-Trunk only after you run the interface Eth-Trunk command to create the Eth-Trunk.
An Eth-Trunk contains a maximum of eight member interfaces. Interfaces added to an Eth-Trunk interface are called member interfaces.
When you add an Ethernet interface to an Eth-Trunk, the interface must use the default settings of certain attributes. Otherwise, the interface cannot be added to the Eth-Trunk. The attributes that use the default settings include:
- Link type
- Maximum percentage of broadcast traffic
- Maximum percentage of multicast traffic
- Maximum percentage of unknown unicast traffic
- VLAN that the interface belongs to
- Interface priority
- Whether the interface allows BPDUs to pass through
- MAC address learning
- Adding the interface to a multicast group statically
- Discarding broadcast packets
- Discarding unknown multicast packets
- Discarding unknown unicast packets
Those attributes must remain consistent and cannot be changed individually. If the preceding attributes of an Eth-Trunk are changed, the attributes of all the member interfaces are changed accordingly.
It is recommended that you run the shutdown (interface view) command to disable an interface before adding the interface to an Eth-Trunk. After adding interfaces at both ends of a link to an Eth-Trunk, run the undo shutdown (interface view) command to enable the interfaces. Otherwise, traffic interruption or broadcast storms may occur.
It is recommended that you run the shutdown (interface view) command to disable a member interface before running the undo eth-trunk command to remove the member interface from an Eth-Trunk.
The number of member interfaces of the Eth-Trunk on devices at both ends must be equal. The interfaces at both ends must be connected with straight-through cables.
Only interfaces of the same type can be added to an Eth-Trunk.