No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Ethernet Link Aggregation

Configuring Ethernet Link Aggregation

This section describes the Etherent link aggregation configuration.

Configuring Link Aggregation in Manual Load Balancing Mode

Link aggregation implements load balancing, increases interface bandwidth, and improves transmission reliability.

Creating an LAG

Context

Each LAG corresponds to a logical interface, that is, Eth-Trunk. Before configuring link aggregation, create an Eth-Trunk.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface eth-trunk trunk-id

    An Eth-Trunk is created and the Eth-Trunk interface view is displayed.

    If the specified Eth-Trunk already exists, this command directly displays the Eth-Trunk interface view.

Setting the Manual Load Balancing Mode

Context

In manual load balancing mode, you must manually create an Eth-Trunk and add member interfaces into the Eth-Trunk. All active links forward data and evenly load balance traffic. The manual load balancing mode mode is used when the peer device does not support LACP.

To delete existing member interface, run the undo eth-trunk command in the interface view command in the Eth-Trunk interface view.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface eth-trunk trunk-id

    The Eth-Trunk interface view is displayed.

  3. Run:

    mode 

    The working mode of the Eth-Trunk is configured.

    By default, an Eth-Trunk works in manual load balancing mode.

    Before configuring an Eth-Trunk, ensure that both ends use the same working mode. If the local end works in manual load balancing mode, the peer end must use the manual load balancing mode.

Adding Member Interfaces to an Eth-Trunk

Context

You can add member interfaces to an Eth-Trunk in the Eth-Trunk interface view or member interface view.

Procedure

  • Adding member interfaces to an Eth-Trunk in the member interface view
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The member interface view is displayed.

    3. Run:

      eth-trunk trunk-id

      The member interface is added to an Eth-Trunk.

    When adding an interface to an Eth-Trunk, pay attention to the following points:

    • An Eth-Trunk contains a maximum of 2 member interfaces.

    • A member interface cannot be configured with some service or static MAC address.
    • When adding an interface to an Eth-Trunk, ensure that the link-type of the interface is default link-type.
    • An Eth-Trunk cannot be nested, that is, its member interfaces cannot be Eth-Trunk.
    • An Ethernet interface can be added to only one Eth-Trunk. To add the Ethernet interface to another Eth-Trunk, delete it from the Eth-Trunk first.
    • An Eth-trunk contains member interfaces of the same type.
    • The peer interfaces directly connected to the local Eth-Trunk member interfaces must also be bundled into an Eth-Trunk; otherwise, the two ends cannot communicate.
    • After interfaces are added to an Eth-Trunk, MAC addresses and ARP are learned on the Eth-Trunk but not the member interfaces.
    • Devices on both ends of an Eth-Trunk must use the same number of physical interfaces, interface rate, duplex mode, jumbo and flow control mode.

(Optional) Setting the Lower Threshold for the Number of Active Interfaces

Context

The lower threshold for the number of active interfaces affects the status and bandwidth of the trunk interface. To ensure that the trunk interface functions properly and is less affected by changes in member link status, set the following thresholds.

When the number of active interfaces falls below this threshold, the Eth-Trunk goes Down. This ensures that the Eth-Trunk has a minimum available bandwidth.

NOTE:

The upper threshold for the number of active interfaces is inapplicable to the manual load balancing mode.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface eth-trunk trunk-id

    The Eth-Trunk interface view is displayed.

  3. Run:

    least active-linknumber link-number

    The lower threshold for the number of active interfaces is set.

    By default, the lower threshold for the number of active interfaces is 1.

    The lower threshold for the number of active interfaces on the local access point can be different from that on the remote access point. If the two values are different, the larger one is used.

(Optional) Configuring a Load Balancing Mode

Context

An Eth-Trunk uses flow-based load balancing. Flow-based load balancing ensures that frames of the same data flow are forwarded on the same physical link. Different data flows are forwarded on different physical links to implement load balancing.

You can configure a common load balancing mode in which IP addresses or MAC addresses of packets are used to load balance packets.

Load balancing is valid only for outgoing traffic; therefore, the load balancing modes for the interfaces at both ends of the link can be different and do not affect each other.

Procedure

  • Configuring a common load balancing mode
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface eth-trunk trunk-id

      The Eth-Trunk interface view is displayed.

    3. Run:

      load-balance { dst-ip | dst-mac | src-ip | src-mac | src-dst-ip | src-dst-mac }

      The load balancing mode of the Eth-Trunk is set.

      By default, the load balancing mode is src-dst-ip.

      • dst-ip: Load balancing is performed based on destination IP addresses.
      • dst-mac: Load balancing is performed based on destination MAC addresses.
      • src-ip: Load balancing is performed based on source IP addresses.
      • src-mac: Load balancing is performed based on source MAC addresses.
      • src-dst-ip: Load balancing is performed based on the Exclusive-Or result of source and destination IP addresses.
      • src-dst-mac: Load balancing is performed based on the Exclusive-Or result of source and destination MAC addresses.

Checking the Configuration

Procedure

  • Run the display eth-trunk [ trunk-id [ interface interface-type interface-number | verbose ] ] command to check the Eth-Trunk configuration.
  • Run the display trunkmembership eth-trunk trunk-id command to check information about member interfaces of the Eth-Trunk.
Translation
Download
Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 129847

Downloads: 312

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next