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

ME60 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access 01

This is ME60 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access
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).
Example for Configuring Eth-Trunk Interfaces to Work in Manual Load Balancing Mode

Example for Configuring Eth-Trunk Interfaces to Work in Manual Load Balancing Mode

In manual load balancing mode, traffic can be evenly distributed among all the member interfaces. You can also set different weights for the member interfaces so that uneven load balancing can be carried out. That means, certain interfaces that have greater weights transmit more traffic.

Networking Requirements

You can bundle multiple Ethernet interfaces into a logical Eth-Trunk interface (link aggregation group) to increase bandwidth, improve link reliability, and implement load balancing.

On the network shown in Figure 4-17, user group 1 communicates with user group 2. To allow traffic to be load-balanced among links, you can create Eth-Trunk interfaces on PE1 and PE2 and configure the Eth-Trunk interfaces to work in manual load balancing mode.

Figure 4-17 Eth-Trunk interfaces in manual load balancing mode
NOTE:

Interfaces 1 through 3 in this example are GE 1/0/1, GE 2/0/1, GE 3/0/1, respectively.



Precautions

After an Eth-Trunk interface is created, it works in manual load balancing mode by default. Therefore, you can adopt the default working mode.

If the Eth-Trunk interface has been configured to work in static LACP mode, you can run the mode command to configure the Eth-Trunk interface to work in manual load balancing mode.

Configuration Roadmap

The configuration roadmap is as follows:

  1. Create an Eth-Trunk interface in manual load balancing mode on each PE to implement link aggregation.

  2. Add Ethernet interfaces to each Eth-Trunk interface and set a load balancing weight for each member interface to increase bandwidth and implement load balancing.

Data Preparation

To complete the configuration, you need the following data:

  • The ID of Eth-Trunk interface

  • Type and number of the member interface of the Eth-Trunk interface

Default value of every parameter of the Eth-Trunk interface

Procedure

  1. Create an Eth-Trunk interface.

    # Configure PE1.

    <HUAWEI> system-view
    [~HUAWEI] sysname PE1
    [*HUAWEI] commit
    [~PE1] interface eth-trunk 1
    [*PE1-Eth-Trunk1] commit
    [~PE1-Eth-Trunk1] quit

    # Configure PE2.

    <HUAWEI> system-view
    [~HUAWEI] sysname PE2
    [*HUAWEI] commit
    [~PE2] interface eth-trunk 1
    [*PE2-Eth-Trunk1] commit
    [~PE2-Eth-Trunk1] quit

  2. Add Ethernet interfaces to the Eth-Trunk interfaces and configure a load balancing weight for every member interface.

    # Configure PE1.

    [*PE1] interface gigabitethernet 1/0/1
    [*PE1-GigabitEthernet1/0/1] undo shutdown
    [*PE1-GigabitEthernet1/0/1] eth-trunk 1
    [*PE1-GigabitEthernet1/0/1] quit
    [*PE1] interface gigabitethernet 2/0/1
    [*PE1-GigabitEthernet2/0/1] undo shutdown
    [*PE1-GigabitEthernet2/0/1] eth-trunk 1
    [*PE1-GigabitEthernet2/0/1] distribute-weight 3
    [*PE1-GigabitEthernet2/0/1] quit
    [*PE1] interface gigabitethernet 3/0/1
    [*PE1-GigabitEthernet3/0/1] undo shutdown
    [*PE1-GigabitEthernet3/0/1] eth-trunk 1
    [*PE1-GigabitEthernet3/0/1] commit
    [~PE1-GigabitEthernet3/0/1] quit

    # Configure PE2.

    [*PE2] interface gigabitethernet 1/0/1
    [*PE2-GigabitEthernet1/0/1] undo shutdown
    [*PE2-GigabitEthernet1/0/1] eth-trunk 1
    [*PE2-GigabitEthernet1/0/1] quit
    [*PE2] interface gigabitethernet 2/0/1
    [*PE2-GigabitEthernet2/0/1] undo shutdown
    [*PE2-GigabitEthernet2/0/1] eth-trunk 1
    [*PE2-GigabitEthernet2/0/1] distribute-weight 3
    [*PE2-GigabitEthernet2/0/1] quit
    [*PE2] interface gigabitethernet 3/0/1
    [*PE2-GigabitEthernet3/0/1] undo shutdown
    [*PE2-GigabitEthernet3/0/1] eth-trunk 1
    [*PE2-GigabitEthernet3/0/1] commit
    [~PE2-GigabitEthernet3/0/1] quit

  3. Verify the configuration.

    Run the display trunkmembership eth-trunk command in any view. The command output shows that the Eth-Trunk interface works in manual load balancing mode and the Eth-Trunk interface is Up. In addition, you can view the weight of every member interface of the Eth-Trunk interface. Use the command output on PE1 as an example.

    [*PE1] display trunkmembership eth-trunk 1
    Trunk ID: 1
    used status: VALID
    TYPE: ethernet
    Working Mode : Normal
    Working State: Normal
    Number Of Ports in Trunk = 3
    Number Of Up Ports in Trunk = 3
    operate status: up
    
    Interface GigabitEthernet1/0/1, valid, operate up, weight 1,
    Interface GigabitEthernet2/0/1, valid, operate up, weight 3,
    Interface GigabitEthernet3/0/1, valid, operate up, weight 1,

Configuration Files

  • PE1 configuration file

    #
    sysname PE1
    #
    interface Eth-Trunk1
    #
    interface GigabitEthernet1/0/1
     undo shutdown
     eth-trunk 1
    #
    interface GigabitEthernet2/0/1
     undo shutdown
     eth-trunk 1
     distribute-weight 3
    #
    interface GigabitEthernet3/0/1
     undo shutdown
     eth-trunk 1
    #
    return
  • PE2 configuration file

    #
    sysname PE2
    #
    interface Eth-Trunk1
    #
    interface GigabitEthernet1/0/1
     undo shutdown
     eth-trunk 1
    #
    interface GigabitEthernet2/0/1
     undo shutdown
     eth-trunk 1
     distribute-weight 3
    #
    interface GigabitEthernet3/0/1
     undo shutdown
     eth-trunk 1
    admin
    return
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059440

Views: 29437

Downloads: 21

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