mpls l2vpn stream-dual-receiving

Function

The mpls l2vpn stream-dual-receiving command configures an interface to receive packets from both the primary and secondary PWs.

The undo mpls l2vpn stream-dual-receiving command disables an interface from receiving packets from the secondary PW.

By default, an interface cannot receive packets from the secondary PW.

Format

mpls l2vpn stream-dual-receiving

undo mpls l2vpn stream-dual-receiving

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

On a network configured with PW redundancy, the mpls l2vpn stream-dual-receiving command must be run on a PE to which a CE is dual-homed, so that the PE can receive packets from both the primary and secondary PWs.

If the command is not run, the PE receives packets only from the primary PW. This causes packet loss during a traffic switchback. After the primary PW recovers and a traffic switchback is triggered, the secondary PW on the PE becomes the primary PW and the PE notifies the peer of the status change. A delay in signaling transmission causes the peer PE to send packets along the secondary PW. After the PE receiving packets from the secondary PW, the PE discards the packets.

Prerequisites

The primary and secondary PWs have been configured.

Precautions

The mpls l2vpn stream-dual-receiving command applies only to PWE3 L2VPN. If hierarchical virtual private LAN service (HVPLS) is configured, the command cannot be configured. If you configure this command, unidirectional broadcast traffic will be looped back.

Example

# Enable the UPE to receive packets from both the primary and secondary PWs on GE 0/1/0.
<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 1.1.1.1 1
[*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 2.2.2.2 2 secondary
[*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn stream-dual-receiving
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >