Load balancing on Ether trunks.

Created Jan 15, 2019 22:59:29Latest reply Jan 17, 2019 17:15:19 126 1 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 17: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:

Responses

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

Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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 Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top