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

NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services
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 Load Balancing Mode

Configuring Load Balancing Mode

Configuring Per-packet Load Balancing Mode

By default, the load balancing modes of the traffic on control plane and forwarding plane are per-flow. You can configure the commands as shown in Table 10-1 to change the mode to per-packet.

Table 10-1 Configuration Guide for Per-packet Load Balancing Mode
Views Command Format Influence Range Note
System view load-balance packet { slot slot-id | all }
  • On the forwarding plane, this command takes effect only on MPLS packets on P nodes.
  • On the control plane, this command takes effect on the IP packets and MPLS packets sent by CPU.

Configures the per-packet load balancing mode for packet forwarding.

Interface view mpls l2vpn load-balance packet Inbound Martini/SVC VLL traffic of the interface

Prerequisites: a Martini VLL or an SVC VLL has been configured on the corresponding interface and a tunnel policy has been configured for the L2VPN.

If VLL FRR is enabled on the interface, this command takes effect on both primary and secondary PWs.

Eth-Trunk interface view

load-balance packet-all

packet-all
Inbound traffic of the interface By default, Layer 3 Eth-Trunk interfaces carry out IP-based load balancing and Layer 2 Eth-Trunk interfaces carry out MAC-based load balancing.
IP-Trunk interface view load-balance packet-all Inbound traffic of the interface By default, IP-Trunk interfaces perform the load balancing based on source or destination IP addresses.

Configuring Per-flow Load Balancing Mode

By default, the load balancing modes of the traffic on control plane and forwarding plane are per-flow. You can configure the commands as shown in Table 10-2 to change the mode to per-flow if the mode has been changed to per-packet.

Table 10-2 Configuration Guide for Per-flow Load Balancing Mode
Views Command Format Influence Range Note
System view load-balance flow { slot slot-id | all } or undo load-balance packet { slot slot-id | all }
  • On the forwarding plane, this command takes effect only on MPLS packets on P nodes.
  • On the control plane, this command takes effect on the IP packets and MPLS packets sent by CPU.

Configures the per-flow load balancing mode for packet forwarding.

Interface view undo mpls l2vpn load-balance packet Inbound Martini/SVC VLL traffic of the interface

Prerequisites: a Martini VLL or an SVC VLL has been configured on the corresponding interface and a tunnel policy has been configured for the L2VPN.

If VLL FRR is enabled on the interface, this command takes effect on both primary and secondary PWs.

Layer3 Eth-Trunk interface view

load-balance src-dst-ip, or undo load-balance

Inbound traffic of the interface

By default, Layer 3 Eth-Trunk interfaces carry out IP-based load balancing.

IP-Trunk interface view load-balance src-dst-ip, or undo load-balance Inbound traffic of the interface

By default, IP-Trunk interfaces perform the load balancing based on source or destination IP addresses.

Configuring Load Balancing Mode on a BAS Interface

Table 10-3 Configuration Guide for Load Balancing Mode on a BAS Interface
Views Command Format Influence Range
Eth-Trunk interface view bas-load-balance { flow-mode | user-mode | real-flow-mode } BAS online traffic

Follow-up Procedure

Run the save command to save the current configuration to the configuration file when a set of configuration is finished and the expected functions have been achieved.

Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055376

Views: 15357

Downloads: 33

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