Configure the hash mode for Auto-LAGs

By default, the Auto-LAG feature is enabled and uses a hash mode that auto-configures a LAG based on the destination MAC address, VLAN, EtherType, and incoming port in the packet (that is, the hash mode with the name 2 Dest MAC, VLAN, EType, incoming port). You can change the hash mode (that is, the load balancing mode) for the Auto-LAG feature.

The switch balances traffic on a LAG by selecting one of the links in the channel over which packets must be transmitted. The switch selects the link by creating a binary pattern from selected fields in a packet and associating that pattern with a particular link. The hash mode determines which fields in a packet the switch selects.

To change the hash mode for the Auto-LAGs:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select Switching > LAG > LAG Configuration.

    The LAG Configuration page displays.

  3. In the LAG Global Configuration section, from the Auto-LAG Global Hash Mode menu, select the hash mode for the Auto-LAGs:
    • 1 Src MAC, VLAN, EType, incoming port: Source MAC address, VLAN, EtherType, and incoming port associated with the packet.

    • 2 Dest MAC, VLAN, EType, incoming port: Destination MAC address, VLAN, EtherType, and incoming port associated with the packet. This is the default mode.

    • 3 Src/Dest MAC, VLAN, EType, incoming port: Source and destination MAC addresses, VLAN, EtherType, and incoming port associated with the packet.

    • 4 Src IP and Src TCP/UDP Port fields: Source IP address and source TCP/UDP port fields of the packet.

    • 5 Dest IP and Dest TCP/UDP Port fields: Destination IP address and destination TCP/UDP port fields of the packet.

    • 6 Src/Dest IP and TCP/UDP Port fields: Source and destination IP addresses and source and destination TCP/UDP port fields of the packet.

  4. Click the Apply button.

    Your settings are saved.

  5. To save the settings to the running configuration, click the Save icon.