mpls l2vpn load-balance packet

Function

The mpls l2vpn load-balance packet command configures per-packet load balancing for LDP and SVC VPWS.

The undo mpls l2vpn load-balance packet command restores the default configuration.

By default, per-flow load balancing is used for LDP and SVC VPWS.

Format

mpls l2vpn load-balance packet

undo mpls l2vpn load-balance packet

Parameters

None

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, XGE sub-interface view, XGE interface view, Layer 2 sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In LDP or SVC VPWS scenarios in which PW services are carried over multiple tunnels, VPWS load balancing can be implemented to fully utilize network bandwidths and improve transmission efficiency. Two VPWS load balancing modes are available:

  • Per-flow load balancing: Packets from the same source and with the same destination are forwarded over the same tunnel.
  • Per-packet load balancing: Packets are forwarded in sequence over alternate tunnels used for load balancing.

    By default, per-flow load balancing is used for LDP and SVC VPWS. After the mpls l2vpn load-balance packet command is configured, per-packet load balancing is performed for packets transmitted on the LDP or SVC VPWS network. This configuration enables packets to be forwarded on more tunnels than before.

Prerequisites

LDP or SVC VPWS has been configured on the interface, and a tunnel policy has been configured and applied to L2VPN instances.

Precautions

  • The mpls l2vpn load-balance packet command applies only to interfaces that have LDP or SVC VPWS configured.
  • If VPWS FRR has been configured on an interface, the mpls l2vpn load-balance packet command configuration takes effect for both the primary and secondary PWs.

Example

# Configure per-packet load balancing for VPWS packets.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 3.3.3.3 100
[*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn load-balance packet
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >