Creating an LAG
Context
Each LAG corresponds to an Eth-Trunk. Before configuring link aggregation, create an Eth-Trunk.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
interface eth-trunk trunk-id
An Eth-Trunk is created and the Eth-Trunk interface view is displayed.
The value of trunk-id ranges from 0 to 127.
If the device is equipped with cards specified in the assign trunk command, you can run the assign trunk command to set the value, and run the display trunk configuration command to view the configuration.
If the specified Eth-Trunk already exists, this command directly displays the Eth-Trunk interface view.