The interface eth-trunk command displays the view of an existing Eth-Trunk or creates an Eth-Trunk and displays its view.
The undo interface eth-trunk command deletes an Eth-Trunk.
By default, no Eth-Trunk is created.
Parameter |
Description |
Value |
---|---|---|
trunk-id |
Specifies the ID of an Eth-Trunk. |
The value is an integer. The value varies according to device model:
On the S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S, S6720-EI, and S6720S-EI, you can run the assign trunk command to set the value, and run the display trunk configuration command to check the configuration. |
subnumber |
Specifies the ID of an Eth-Trunk sub-interface. |
The value is an integer that ranges from 1 to 4096. |
If the specified Eth-Trunk already exists, the interface eth-trunk command directly displays the view of the specified Eth-Trunk.
You can delete an Eth-Trunk only when the Eth-Trunk does not contain any member interface.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support Ethernet sub-interfaces.
After you run the undo portswitch command to switch Layer 2 interfaces on the preceding series of switches into Layer 3 interfaces, you can configure Ethernet sub-interfaces on the interfaces.
After an interface is added to an Eth-Trunk, sub-interfaces cannot be configured on the interface.