After flow label-based load balancing is configured for an L2VPN, L2VPN services can be classified by flow labels and forwarding paths can be selected based on the flow labels, improving forwarding efficiency.
Before configuring flow label-based load balancing, complete the following task:
On an L2VPN carrying service traffic, when multiple links exist between Ps, flow label-based load balancing can be configured on PEs to improve traffic forwarding efficiency and reduce the forwarding pressure on the Ps. After this function is configured, the PEs can add flow labels to different types of traffic to distinguish one from another. When a P receives packets carrying flow labels, the P selects paths based on the flow labels to forward the packets, implementing load balancing.
The system view is displayed.
The VSI view is displayed.
The VSI-BGP view is displayed.
Flow label-based load balancing is enabled for the VSI.
If the static parameter is configured, the static flow label-based load balancing mode is enabled.
In this mode, if the two ends have inconsistent configurations, packets carrying flow labels are discarded, causing traffic loss.
The configuration is committed.