< Home

ntp-service discard

Function

The ntp-service discard command sets the minimum inter-packet interval and the average inter-packet interval of NTP.

The undo ntp-service discard command cancels the minimum inter-packet interval and the average inter-packet interval of NTP.

By default, the minimum inter-packet interval is set to the first power of 2 in seconds, namely, 2 seconds, and the average inter-packet interval is set to the fifth power of 2 in seconds, namely, 32 seconds.

Format

ntp-service discard { min-interval min-interval-val | avg-interval avg-interval-val } *

undo ntp-service discard

Parameters

Parameter Description Value
min-interval min-interval-val

Specifies the minimum inter-packet interval of NTP.

The actual value of the minimum inter-packet interval of NTP is the value obtained by raising 2 to the power of min-interval-val, expressed in seconds.

The value of min-interval-val is an integer that ranges from 1 to 8.
avg-interval avg-interval-val

Specifies the average inter-packet interval of NTP.

The actual value of the average inter-packet interval of NTP is the value obtained by raising 2 to the power of avg-interval-val, expressed in seconds.

The value of avg-interval-val is an integer that ranges from 1 to 8.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The minimum inter-packet interval and the average inter-packet interval of NTP are set using the ntp-service discard command. To generate kiss code RATE, we need to set the minimum inter-packet interval and the average inter-packet interval of NTP.

Example

# Set both the minimum inter-packet interval and the average inter-packet interval of NTP to the fourth power of 2, expressed in seconds, namely, 16 seconds.

<HUAWEI> system-view
[HUAWEI] ntp-service discard min-interval 4 avg-interval 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >