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.
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. |
- |
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:
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.