< Home

reroute (protect-group view)

Function

The reroute command configures a revertive switching policy for a PW protection group with the master/slave PW redundancy mode.

The undo reroute command deletes the revertive switching policy for a PW protection group with the master/slave PW redundancy mode.

The default revertive switching policy for a PW protection group with the master/slave PW redundancy mode is delayed switchback and the default delay is 30s.

Format

reroute { delay delay-time | immediately | never }

undo reroute

Parameters

Parameter Description Value

delay delay-time

Specifies that the revertive switching policy is delayed switchback.

The value is an integer ranging from 10 to 600, in seconds. The default value is 30s.

immediately

Specifies that the revertive switching policy is immediate switchback.

-

never

Specifies that the revertive switching policy is non-revertive. Traffic does not switch back to the primary PW even after the primary PW recovers. Traffic will be switched back to the primary PW only when the secondary PW fails.

-

Views

protect-group view

Default Level

2. Configuration level

Usage Guidelines

Usage Scenario

The reroute command can configure revertive switching policies for only PW protection groups with the master/slave PW redundancy mode. The revertive switching policy for PW protection groups with the independent PW redundancy mode is immediate switchback and cannot be modified.

Currently, three types of revertive switching policies are available:

  • Delayed switchback: Traffic is switched back to the primary PW after the delay time specified in delay-time. After the switchover is performed, the UPE notifies the remote PE on the secondary PW of a fault. On a large-scale network, packet loss caused by incomplete route convergence may occur during the switchback. To prevent this problem, configure traffic to be switched back after a delay.
  • Immediate switchback: Traffic is immediately switched back to the primary PW. This revertive switching policy applies to scenarios in which users hope traffic to be restored as soon as possible.
  • Non-revertive: Traffic will not be switched back to the primary PW even after the primary PW recovers. Traffic will be switched back to the primary PW only when the secondary PW fails. If you do not want traffic to be frequently switched between the primary and secondary PWs, you can use the non-revertive policy.

Prerequisites

The PW redundancy mode of the PW protection group is master/slave.

Precautions

The revertive switching policy determines the switchback behavior of the traffic after the primary PW recovers.

Example

# Configure the primary and secondary PWs in a PW protection group to perform a switchback after a delay of 60s.

<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] reroute delay 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >