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