< Home

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 both the primary and secondary PWs.

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

Interface view

Default Level

2: Configuration level

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 the CE is single homed, so that the PE can receive packets from both the primary and secondary PWs. This prevents packet loss during the PW switchover process.

If the command is not run, the PE receives packets only from the primary PW. This causes packet loss during a traffic switchover. After the primary PW recovers and a traffic switchover 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, resulting in packet loss.

Prerequisites

Primary and secondary PWs have been configured.

Precautions

The mpls l2vpn stream-dual-receiving command applies to only PWE3 L2VPN. If H-VPLS is configured, the command cannot be configured. If you configure this command, unidirectional broadcast traffic will be looped back.

Bypass PWs cannot be configured on a PE configured with the mpls l2vpn stream-dual-receiving command.

Kompella VLL FRR does not support the mpls l2vpn stream-dual-receiving command.

Example

# Enable the device to receive packets from both the primary and secondary PWs on VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls l2vc 1.1.1.1 1
[HUAWEI-Vlanif100] mpls l2vc 2.2.2.2 2 secondary
[HUAWEI-Vlanif100] mpls l2vpn stream-dual-receiving
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >