Load balancing on Ether trunks.

Latest reply: Apr 3, 2019 14:04:57 347 2 0 0

 

The traffic load balance along the threads of an Ether Trunk is not optimally balanced by default, therefore, traffic characteristics must be taken into account deeply.

There are 2 ways to configure it, it can be for a simple load balance, based on:


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

This is configured in the trunk itself, or a higher level load balance, which is configure by using a load balance profile for details in the l2 field, or ipv4, ipv6 or mpls.

 

For it, we must decide the criteria for which the balancing will be performed and would be done as follows:

 

System-view

Load-balance-profile name

l2 field [ dmac | l2-protocol | smac | sport | vlan ]

or

ipv4 field [ dip | l4-dport | l4-sport | protocol | sip | sport | vlan ] *

or

ipv6 field [ dip | l4-dport | l4-sport | protocol | sip | sport | vlan ] *

or

mpls field [ 2nd-label | dip | dmac | sip | smac | sport | top-label | vlan ] *

and implement in the Ehter trunk:

load-balance enhanced profile name

 


  • x
  • convention:

MHME
Created Jan 17, 2019 09:15:19 Helpful(0) Helpful(0)

Here is an example of Configuring Eth-Trunk Load Balancing

imgDownload?uuid=3aed893a29f4438998ab355

Procedure

  1. Check load balancing of member interfaces of Eth-Trunk 1 on SwitchA. Outgoing traffic of the four member interfaces is unevenly load balanced.

    [~SwitchA] display interface brief
    PHY: Physical                     
    *down: administratively down                   
    ^down: standby                                  
    (l): loopback                           
    (s): spoofing                                       
    (b): BFD down                              
    (e): ETHOAM down                                    
    (d): Dampening Suppressed                                 
    (p): port alarm down              
    (dl): DLDP down
    InUti/OutUti: input utility rate/output utility rate
    Interface                  PHY      Protocol  InUti OutUti   inErrors  outErrors
    Eth-Trunk1                 up       up           0% 50.00%          0          0
      10GE1/0/1                up       up           0% 46.00%          0          0
      10GE1/0/2                up       up           0% 51.99%          0          0
      10GE1/0/3                up       up           0% 51.99%          0          0
      10GE1/0/4                up       up           0% 50.00%          0          0

  2. In outgoing packets of the Eth-Trunk on SwitchA, the source MAC address and IP address change. Adjust the hash algorithm in the load balancing profile based on the traffic model to hash-mode(8).

    By default, the hash algorithm in the load balancing profile is hash-mode(1).

    When outgoing traffic is unevenly load balanced, adjust the load balancing mode on the current device. When incoming traffic is unevenly load balanced, adjust the load balancing mode on the uplink device.

    [~SwitchA] load-balance profile default
    [~SwitchA-load-balance-profile-default] eth-trunk hash-mode 8
    [*SwitchA-load-balance-profile-default] commit
    [~SwitchA-load-balance-profile-default] quit

  3. Check load balancing of member interfaces of Eth-Trunk 1 on SwitchA. Outgoing traffic of the four member interfaces is evenly load balanced.

    [~SwitchA] display interface brief
    PHY: Physical
    *down: administratively down
    ^down: standby
    (l): loopback
    (s): spoofing
    (b): BFD down
    (e): ETHOAM down
    (d): Dampening Suppressed
    (p): port alarm down
    (dl): DLDP down
    InUti/OutUti: input utility rate/output utility rate
    Interface                  PHY      Protocol  InUti OutUti   inErrors  outErrors
    Eth-Trunk1                 up       up           0% 50.00%          0          0
      10GE1/0/1                up       up           0% 49.99%          0          0
      10GE1/0/2                up       up           0% 50.00%          0          0
      10GE1/0/3                up       up           0% 49.99%          0          0
      10GE1/0/4                up       up           0% 49.99%          0          0
  • x
  • convention:

Amr_Fayrouz_Elattar
Created Apr 3, 2019 14:04:57 Helpful(0) Helpful(0)

Applicable Environment
To improve the communication ability of links, bind multiple Ethernet ports to form an Eth-Trunk interface to increase bandwidth.

Eth-Trunk interfaces can realize load balancing. Traffic to the same destination is transported on different member links to avoid congestion.

In addition, Eth-Trunk interfaces can improve link reliability. If a member port is Down, traffic is switched to other available ports.

When the bandwidth or the reliability of two devices should be increased and one of the two devices does not support LACP, you should create an Eth-Trunk in manual load balancing mode on the Router and add multiple member interfaces to increase the bandwidth and reliability of devices.

As shown in Figure 3-3, RouterA supports LACP, but RouterB does not support LACP.

NOTE:
In manual load balancing mode, member interfaces with different speeds and duplex modes, and on different boards, can be aggregated to an Eth-Trunk.

Figure 3-3 Networking diagram of link aggregation in manual load balancing mode

Pre-configuration Tasks
Before creating an Eth-Trunk interface, complete the task of powering on the Router or switch and starting it normally

Data Preparation
To create an Eth-Trunk interface in manual load balancing mode, you need the following data.

No.

Data

1

Eth-Trunk ID

2

Type and number of Eth-Trunk member ports

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login