Setting load sharing modes for link aggregation groups

You can configure the global or group-specific load sharing mode. A link aggregation group preferentially uses the group-specific load sharing mode. If no group-specific load sharing mode is available, the group uses the global load sharing mode.

Setting the global link-aggregation load sharing mode

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure the global link-aggregation load sharing mode.

link-aggregation global load-sharing mode { destination-ip | destination-mac | destination-port | ingress-port | source-ip | source-mac | source-port } *

By default, the system automatically chooses the global link-aggregation load sharing mode according to the packet type.

Setting the group-specific load sharing mode

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter aggregate interface view.

  • Enter Layer 2 aggregate interface viewinterface bridge-aggregation interface-number

  • Enter Layer 3 aggregate interface view:interface route-aggregation interface-number

N/A

3. Configure the load sharing mode for the aggregation group.

link-aggregation load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } *

The default settings are the same as the global load sharing mode.