< Home

timer wtr

Function

The timer wtr command sets the WTR time of a Smart Link group.

The undo timer wtr command restores the default WTR time of a Smart Link group.

By default, the WTR time of a Smart Link group is 60 seconds.

Format

timer wtr wtr-time

undo timer wtr [ wtr-time ]

Parameters

Parameter

Description

Value

wtr-time

Specifies the WTR time.

The value is an integer that ranges from 30 to 1200, in seconds. The default WTR time is 60 seconds.

Views

Smart Link group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the active link in a Smart Link group fails, traffic is switched to the standby link. The original active link remains blocked after recovery. To enable the original active link to transmit traffic, enable the revertive switching function in the Smart Link group. Traffic is switched back to the original active link when the WTR timer expires.

Precautions

If the network is unstable or has no requirement for the transmission delay, set a longer WTR time to prevent frequent switching.

Example

# Set the WTR time to 120 seconds for Smart Link group 1.

<HUAWEI> system-view
[HUAWEI] smart-link group 1
[HUAWEI-smlk-group1] timer wtr 120
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic