< Home

timer recover-time

Function

Using the timer recover-time command, you can set the wait to restore (WTR) time of a Monitor Link group.

Using the undo timer recover-time command, you can restore the default WTR time of a Monitor Link group.

By default, the WTR time of a Monitor Link group is 3 seconds.

Format

timer recover-time recover-time

undo timer recover-time [ recover-time ]

Parameters

Parameter

Description

Value

recover-time

Specifies the WTR time of a Monitor Link group.

The value is an integer that ranges from 3 to 60, in seconds. The default value is 3.

Views

Monitor Link group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the downlink interface status changes frequently in a Monitor Link group because of temporary uplink disconnection, packets are lost and system performance deteriorates. To prevent frequent failover caused by temporary link disconnection, you can use the timer recover-time command to set the WTR time of the Monitor Link group. The Monitor Link group does not restore downlink interfaces immediately after the uplink interface recovers. The downlink interfaces become Up until the WTR time expires.

recover-time indicates the internal switching time of a Monitor Link group. That is, the system starts the interface Up operation after the internal switching time is reached. The actual interface Up time is also affected by the interface Up performance.

Prerequisites

A Monitor Link group has been created by using the monitor-link group command.

Example

# Set the WTR time to 6 seconds for Monitor Link group 1.

<HUAWEI> system-view
[HUAWEI] monitor-link group 1
[HUAWEI-mtlk-group1] timer recover-time 6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >