wtr (PW-FPS view)

Function

The wtr command configures the WTR time for a PW APS instance.

The undo wtr command restores the default WTR time for a PW APS instance.

By default, the WTR time for a PW APS instance is 5 minutes.

Format

wtr wtrValue

undo wtr

Parameters

Parameter Description Value
wtrValue

Specifies the WTR time for a PW APS instance.

The value is an integer ranging from 0 to 12, in minutes. The step length is 1 minute.

The WTR time equals interval multiplied by 1. Therefore, the minimum WTR time is 0 minutes, and the maximum WTR time is 12 minutes. By default, the WTR time for a PW APS instance is 5 minutes.

Views

PW-APS view, PW-FPS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In a PW APS scenario, when the working path fails, traffic is switched to the protection path. After the working path recovers, traffic is switched back to the working path. If the working path frequently alternates between Up and Down, traffic will be interrupted. To prevent the preceding situation, run the

wtr command to enable traffic to stay on the protection path for a specified period:

  • Traffic travels along the protection path within the specified period, no matter whether the working path recovers.
  • If the working path works properly after the specified period elapses, traffic is switched back to the working path.

Prerequisites

A PW APS instance has been created using the pw-aps command.

Precautions

Only the NetEngine 8000 F1A supports this command.

Example

# Set the WTR time for a PW APS instance to 10 minutes in single-ended PW APS mode.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] pw-aps 1 frr
[*HUAWEI-pw-aps-1] wtr 10
# Set the WTR time for a PW APS instance to 10 minutes.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] pw-aps 1
[*HUAWEI-pw-aps-1] wtr 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic