Configuring link aggregation interfaces by using the command line

You can configure the link aggregation interfaces by using the command line interface.

About this task

To configure a link aggregation interface from the command line, you enter link aggregation configuration mode, specifying the interface to configure, and enter the required link aggregation commands.

Note: You must configure the Ethernet interfaces that you want to aggregate, and enable them for link aggregation, before you create the link aggregation interface.

Procedure

  1. Connect to the IBM® MQ Appliance as described in Command line access. Log in as an administrative user.
  2. Type config to enter global configuration mode.
  3. Type the following command to configure a link aggregation interface:
    link-aggregation name
    
    Where name identifies the interface that you want to configure. The name can have a maximum of 128 characters. The following characters are valid:
    • a through z
    • A through Z
    • 0 through 9
    • Underscore (_)
    • Dash (-)
    • Period (.) (note that a name that consists of a single period, or including two periods together, is not permitted)
  4. Use the following link aggregation interface commands to configure the interface:
    Command Description
    admin-state Sets the administrative state for the configuration.
    ip-address Assigns the primary network address for the link aggregation interface.
    ip-config-mode Identifies the configuration mode for the link aggregation interface.
    ip-route Manages static routes in the routing table for the link aggregation interface.
    ip-secondary-address Manages secondary network addresses for the link aggregation interface.
    ipv4-default-gateway Designates the default IPv4 gateway for the link aggregation interface.
    ipv6-dadtransmits Sets the number of IPv6 duplication address detection attempts for the link aggregation interface.
    ipv6-default-gateway Designates the default IPv6 gateway for the link aggregation interface.
    ipv6-nd-retransmit-timer Sets the interval between IPv6 neighbor discovery attempts for the link aggregation interface.
    lacp-hash Sets which hash function the LACP aggregation uses to determine the interface for outbound packets.
    lacp-select Sets the algorithm for the LACP selection policy.
    link Specifies which Ethernet interfaces are part of the aggregate interface.
    type Defines the mode to use for link aggregation.
  5. Use the following command to control the interface, if required:
    Command Description
    packet-capture Manages a packet-capture for the aggregate interface session.
  6. After you configure the link aggregation interface, enter exit to save the configuration and exit, or type cancel to exit without saving.