The preempt enable command enables delayed switchback and also specifies a switchback delay for the master member interface in an Eth-Trunk interface in manual 1:1 master/backup mode.
The undo preempt enable command disables delayed switchback of the master member interface in an Eth-Trunk interface in manual 1:1 master/backup mode.
By default, delayed switchback of the master member interface in an Eth-Trunk interface in manual 1:1 master/backup mode is disabled.
Parameter | Description | Value |
---|---|---|
delay delay-time |
Specifies a switchback delay for the master member interface in an Eth-Trunk interface in manual 1:1 master/backup mode. |
The value is an integer ranging from 0 to 30, in minutes.The default value is 0, indicating that the master member interface becomes active immediately after it recovers. |
seconds |
Specifies a switchback delay for the master member interface. |
The value is an integer ranging from 0 to 59, in seconds. The default value is 0. |
milliseconds |
Specifies a switchback delay for the master member interface. |
The value is an integer ranging from 0 to 999, in milliseconds. The default value is 0. |
Usage Scenario
If the master member interface in an Eth-Trunk interface in manual 1:1 master/backup mode fails, it becomes inactive. If the master member interface recovers, it needs to become active again. To enable delayed switchback for the master member interface, run the preempt enable command.
Prerequisites
An Eth-Trunk interface has been configured to work in manual 1:1 master/backup mode using the mode manual backup command, and an Eth-Trunk member interface has been configured as the master interface using the port-master command.
Precautions
The preempt enable and inactive-port shutdown enable commands are mutually exclusive.
<HUAWEI> system-view [~HUAWEI] interface eth-trunk 10 [*HUAWEI-Eth-Trunk10] portswitch [*HUAWEI-Eth-Trunk10] mode manual backup [*HUAWEI-Eth-Trunk10] preempt enable delay 5