mpls p2mp frr-wtr

Function

The mpls p2mp frr-wtr command sets the delay time for traffic to be switched from the mLDP P2MP FRR or P2MP TE path to the primary path.

The undo mpls p2mp frr-wtr command restores the default configuration.

By default, the delay time for traffic to be switched from the mLDP P2MP FRR or P2MP TE path to the primary path is 5s.

Format

mpls p2mp frr-wtr time-value

undo mpls p2mp frr-wtr [ time-value ]

Parameters

Parameter Description Value
time-value

Sets the delay time for traffic to be switched from the mLDP P2MP FRR or P2MP TE path to the primary path.

The value is an integer ranging from 5 to 600, in seconds.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

If the primary path of the mLDP P2MP FRR or P2MP TE path fails, traffic is switched to the FRR path on the forwarding plane. Before mLDP converges on a downstream node, traffic switches back to the restored primary path within the default WTR time after which traffic will switch back to the primary path. If only some entries are generated for the primary path within the period, some packets are dropped when traffic switches back to the primary path. To prevent packet loss, run the mpls p2mp frr-wtr command to set the delay time for traffic to be switched from the mLDP P2MP FRR or P2MP TE path to the primary path.

Example

# Set the delay time to 20s for traffic to be switched from the mLDP P2MP FRR path to the primary path.
<HUAWEI> system-view
[~HUAWEI] mpls p2mp frr-wtr 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >