stream-dual-receiving

Function

The stream-dual-receiving command configures both the active and standby PWs in a protection group to receive packets.

The undo stream-dual-receiving command restores the default configuration.

By default, the standby PW cannot receive packets.

Format

stream-dual-receiving

undo stream-dual-receiving

Parameters

None

Views

Protection group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

On a network that has PW redundancy configured, to prevent packet loss during a traffic switchback, run the stream-dual-receiving command on a single-homing PE to configure both the active and standby PWs in a protection group to receive packets.

If this command is not run, only the active PW can receive packets. After the primary PW recovers and a traffic switchback is triggered, the secondary PW on the single-homing PE becomes the standby PW and the PE notifies the peer of the status change. As there is a delay in signaling transmission, before the peer PE receives the signaling packet, the peer PE still sends packets along the secondary PW. After the single-homing PE receives packets from the secondary PW, the PE discards the packets.

Prerequisites

The primary and secondary PWs have been configured.

Precautions

This command can be run only when both the primary and secondary PWs exist.

Example

# Configure both the active and standby PWs in a PW protection group to receive packets.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi test
[*HUAWEI-vsi-test] pwsignal ldp
[*HUAWEI-vsi-test-ldp] vsi-id 100
[*HUAWEI-vsi-test-ldp] protect-group GroupA
[*HUAWEI-vsi-test-ldp-protect-group-GroupA] protect-mode pw-redundancy master
[*HUAWEI-vsi-test-ldp-protect-group-GroupA] stream-dual-receiving
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >