Configure the settings for a LAG

You can group one or more full-duplex Ethernet links to be aggregated together to form a link aggregation group, which is also known as a port-channel. The switch treats the LAG as if it were a single link.

To configure the settings for a LAG:

  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. Select the check box for a LAG.
  4. To change the default name of the LAG, in the LAG Name field, enter the name to be assigned to the LAG.

    By default, the names are ch1, ch2, ch3, and so on. You can enter a name of up to 15 characters.

    For information about adding a name in the Description field, see Add port, LAG, and VLAN descriptions or Configure a single LAG and its membership.

  5. From the Admin Mode menu, select to enable or disable the LAG.

    When the LAG is disabled, no traffic flows and LACPDUs are dropped, but the links that form the LAG are not released. The default is Enable.

  6. From the Hash Mode menu, select the hash mode (that is, the load-balancing mode) for the LAG:
    • 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.

    • 7 Enhanced hashing mode: Features MODULO-N operation based on the number of ports in the LAG, non-unicast traffic and unicast traffic hashing using a common hash algorithm, excellent load balancing performance, and packet attributes selection based on the packet type

      • For L2 packets, the source MAC address and destination MAC address are used for hash computation.

      • For L3 packets, the source IP address, destination IP address, and TCP or UDP ports are used for hash computation.

    Note: 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.
  7. From the STP Mode menu, select to enable or disable the Spanning Tree Protocol (STP) administrative mode for the LAG.

    The default is Enable.

  8. From the Static Mode menu, select to enable or disable the LAG as a static LAG.

    When the static mode is enabled, the LAG does not transmit or process incoming LACPDUs. That is, a LAG member port does not transmit LACPDUs, and LACPDUs that it receives are dropped. The default is Disable.

  9. From the Link Trap menu, select to enable or disable the transmission of a trap when the LAG link status changes.

    The default is Enable, which allows a trap to be sent.

  10. From the Local Preference Mode menu, select if known unicast traffic that is sent to the LAG uses only the LAG interface on the local unit in a stacking environment:
    • Enable: This mode is intended for a stacking environment. If the LAG is formed with ports from across the stacking units, any known unicast traffic that is sent to the LAG uses only the LAG interface on the local unit. Enable this mode to ensure that the known unicast traffic that is sent to the LAG does not cross the external stack link when the LAG has one or more members on the local unit. This mode does not affect unknown unicast, broadcast, and multicast traffic.

    • Disable: Known unicast traffic that is sent to the LAG is not restricted to the LAG interface on the local unit. If you do not use stacking, keep this mode disabled, which is the default.

  11. Click the Apply button.

    Your settings are saved.

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

The following table describes the view-only fields on the page.

Table 1. LAG configuration information

Field

Description

LAG Description

The description that you might have added to the LAG (see Add port, LAG, and VLAN descriptions or Configure a single LAG and its membership)

LAG ID

The LAG ID

Configured Ports

The interfaces that are members of the LAG

Down Ports

The interfaces that are members of the LAG but that are down

LAG State

Indicates if the LAG link is up or down

Automatic LAG

Indicates if the LAG is manually (No) or automatically (Yes) created