< Home

(Optional) Extending Eth-Trunk Specifications

Context

Generally, a switch supports a fixed maximum number of LAGs and a fixed maximum number of member interfaces in each LAG. 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 maximum number of LAGs and the maximum number of member interfaces in each LAG, implementing flexible networking and meeting various service requirements.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run assign trunk { trunk-group group-number | trunk-member member-number }*

    The maximum number of LAGs and the maximum number of member interfaces in each LAG are set.

    By default, the device supports a maximum of 128 LAGs and 8 member interfaces in each LAG. member-number can be 8, 16, 32, or 64, and member-number multiplied by group-number cannot exceed 2048 on the S6720-EI and S6720S-EI. member-number multiplied by group-number cannot exceed 8192 on the S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6730-H, S6730S-H, S6730-S, and S6730S-S.

  • By default, if the value of member-number configured for an Eth-Trunk using the assign trunk { trunk-group group-number | trunk-member member-number }* command is larger than 16 on the S6720-EI and S6720S-EI or larger than 32 on the S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6730-H, S6730S-H, S6730-S, and S6730S-S, known unicast packets are load balanced using the enhanced mode, and broadcast, unknown-unicast, and multicast (BUM) packets are load balanced based on their source and destination MAC addresses. Known unicast packets must be load balanced using the enhanced mode (the load balancing mode can be configured using the load-balance command). Otherwise, packet loss or uneven load balancing may occur.
  • After the Eth-Trunk specifications are modified, save the configuration and restart the switch to make the modification take effect.

  • If you use the assign trunk command to modify Eth-Trunk specifications, the existing Eth-Trunk configuration will become invalid or be lost. Exercise caution when you run the assign trunk command. When the configured Eth-Trunk specifications are reduced and the Eth-Trunks that exceed the specifications are configured, the configuration of excess Eth-Trunks is invalid.

Verifying the Configuration

Run the display trunk configuration command in any view to check the default specifications of the maximum number of Eth-Trunks that are supported and maximum number of member interfaces in each Eth-Trunk, current specifications, and configured specifications.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >