New topicconfigure sharing algorithm

configure sharing master_port algorithm [address-based [L2 | L3 | L3_L4 | custom] | port-based]

Description

Modifies the distribution algorithm of an existing LAG (Link Aggregation Group).

Syntax Description

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.

Default

Address-based link aggregation by Layer 2 is the default.

Usage Guidelines

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.

Example

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

History

This command was first available in ExtremeXOS 22.4.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.