< Home

clock wtr

Function

The clock wtr command sets the wait-to-restore (WTR) time for a clock source.

By default, the WTR time of a clock source is 5 minutes.

Format

clock wtr wtr-time

Parameters

Parameter Description Value
wtr-time Specifies the WTR time of a clock source. The value is an integer that ranges from 0 to 12, in minutes.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When a lost clock source is restored, the system waits for a period of 0 to 12 minutes before considering the clock source available. During this period, the system considers the clock source lost.

Setting the WTR time can avoid some mistakes in determining the clock source caused by occasional signal jitter on the network.

The default WTR time of a clock source is 5 minutes. Generally, you do not need to change the default value. If you want to view the clock source switching result during debugging, set the WTR time to 0.

Example

# Set the WTR time to 0.

<HUAWEI> system-view
[HUAWEI] clock wtr 0 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >