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.
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. |
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:Prerequisites
A PW APS instance has been created using the pw-aps command.
Precautions
Only the NetEngine 8000 F1A supports this command.
<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
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] pw-aps 1 [*HUAWEI-pw-aps-1] wtr 10