Modifies the distribution algorithm of an existing LAG.
master_port | Specifies the master logical port for the load-sharing group or LAG. |
algorithm | Specifies modifying the distribution algorithm of an existing LAG. |
address-based | Specifies link aggregation by address-based algorithm. |
L2 | Specifies address-based link aggregation by Layer 2. This is the default. |
L3 | Specifies address-based link aggregation by Layer 3. |
L3_L4 | Specifies address-based link aggregation by Layer 3 IP plus Layer 4 port. |
custom | Selects the custom link aggregation
algorithm configured with the following command:
configure sharing address-based custom [ipv4
[L3-and-L4 | source-only | destination-only | source-and-destination] |
hash-algorithm [xor | crc-16]]. The configuration of the custom option applies to all LAGs on the switch. |
port-based | Selects port-based load sharing groups. |
Address-based link aggregation by Layer 2 is the default.
This command allows you to modify the distribution algorithm of an existing LAG, created using the command enable sharing grouping.
If you select the custom option, you configure the customer link aggregation algorithm with the following command: configure sharing address-based custom [ipv4 [L3-and-L4 | source-only | destination-only | source-and-destination] | hash-algorithm [xor | crc-16]]
Since the custom and port-based algorithms may not be used at the same time, changing the algorithm on multiple groups between the custom and port-based algorithms requires changing the algorithm on these groups to either L2, L3, or L3_L4 as an intermediate step.
The following example sets the distribution algorithm for the LAG on port 24 to address-based link aggregation by Layer 3 IP plus Layer 4 port:
# configure sharing 24 algorithm address-based L3_L4
This command was first available in ExtremeXOS 22.4.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.