Creating a LAG
Context
Each LAG has one logical interface, that is, 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.
If the specified Eth-Trunk already exists, this command directly displays the Eth-Trunk interface view.
trunk-id defines the Eth-Trunk ID. The value ranges of different models are different. Table 3-4 lists value ranges of different models.Table 3-4 Value ranges of different modelsProduct Model
Value Range
CE12800E that has the ED-E/EG-E/EGA-E series cards installed
The value range cannot be adjusted. The value of trunk-id is in the range 0 to 1023. Each Eth-Trunk allows a maximum of 128 member interfaces.
CE12800E that has the FD-X series cards installed
The value range can be adjusted using the assign forward eth-trunk mode { 64 | 128 | 256 | 512 | 1024 } command.
- When 64 is specified, the value is in the range 0 to 63. Each Eth-Trunk allows a maximum of 32 member interfaces.
- When 128 is specified, the value is in the range 0 to 127. Each Eth-Trunk allows a maximum of 16 member interfaces. The default value is 128.
- When 256 is specified, the value is in the range 0 to 255. Each Eth-Trunk allows a maximum of 8 member interfaces.
- When 512 is specified, the value is in the range 0 to 511. Each Eth-Trunk allows a maximum of 4 member interfaces.
- When 1024 is specified, the value is in the range 0 to 1023. Each Eth-Trunk allows at most 2 member interfaces.
Other models:
The value range can be adjusted using the assign forward eth-trunk mode { 128 | 256 | 512 | 1024 } command.
- When 128 is specified, the value is in the range 0 to 127. Each Eth-Trunk allows a maximum of 128 member interfaces.
- When 256 is specified, the value is in the range 0 to 255. Each Eth-Trunk allows a maximum of 64 member interfaces.
- When 512 is specified, the value is in the range 0 to 511. Each Eth-Trunk allows a maximum of 32 member interfaces. The default value is 512.
- When 1024 is specified, the value is in the range 0 to 1023. Each Eth-Trunk allows a maximum of 16 member interfaces.
- Run commit
The configuration is committed.