Configure the trunk hash mode

The trunk hash mode determines the load-balancing mode that is used for a stack. After you select the trunk hash mode, the switch balances traffic by selecting one of the links over which specific 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.

To configure the trunk hash mode:

  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 System > Stacking > Advanced > Stack-port Configuration.

    The Stack-port Configuration page displays.

  3. To display the ports of a specific stacked switch, select the unit ID for the stacked switch, or select the All link to display all ports for all stacked switches.

    The ports for the selected switch or switches display.

  4. Select the check box for one or more ports:
  5. From the Stack Trunk Hash Mode menu, select the mode:
    • 1 Src MAC, VLAN, EType, incoming port: The source MAC address, VLAN, EtherType, and incoming port associated with the packet
    • 2 Dest MAC, VLAN, EType, incoming port: The destination MAC address, VLAN, EtherType, and incoming port associated with the packet
    • 3 Src/Dest MAC, VLAN, EType, incoming port: The source and destination MAC addresses, VLAN, EtherType, and incoming port associated with the packet
    • 4 Src IP and Src TCP/UDP Port fields: The source IP address and source TCP/UDP port fields of the packet
    • 5 Dest IP and Dest TCP/UDP Port fields: The destination IP address and destination TCP/UDP port fields of the packet
    • 6 Src/Dest IP and TCP/UDP Port fields: The source and destination IP addresses and source and destination TCP/UDP port fields of the packet.
    • 7 Enhanced hashing mode: Dynamic selections of fields based on the packet flow. For L2 packets, the source and destination MAC addresses are used; for IP packets, the source and destination IP addresses and TCP/UDP port fields are used.
  6. Click the Apply button.

    Your settings are saved.

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