< Home

stream-dual-receiving

Function

The stream-dual-receiving command enables the secondary PW to receive and forward traffic from the peer.

The undo stream-dual-receiving command disables the secondary PW from receiving and forwarding traffic from the peer.

By default, the secondary PW does not receive traffic from the peer.

Format

stream-dual-receiving

undo stream-dual-receiving

Parameters

None

Views

protect-group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the network is unstable or a faulty occurs on the device, traffic may switch between the primary and secondary PW. In this case, you need to run the stream-dual-receiving command to enable the secondary PW to receive and forward traffic from the peer. This reduces number of packets lost during switching.

Prerequisites

The master/slave mode has been configured as the PW redundancy mode.

Configuration Impact

The secondary PW can forward data but does not forward data before traffic is switched from the primary PW to the secondary PW.

Example

# Enable the secondary PW to receive and forward traffic from the peer.

<HUAWEI> system-view
[HUAWEI] vsi vsi1
[HUAWEI-vsi-vsi1] pwsignal ldp
[HUAWEI-vsi-vsi1-ldp] protect-group group1
[HUAWEI-vsi-vsi1-ldp-protect-group-group1] stream-dual-receiving
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >