ntp-service discard

Function

The ntp-service discard command configures the minimum inter-packet interval and average minimum inter-packet interval.

The undo ntp-service discard command deletes the minimum inter-packet interval and average minimum inter-packet interval.

The default minimum inter-packet interval is 1, and the default average minimum packet interval is 5.

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

The value is an integer ranging from 1 to 8, expressed in the Nth power of 2 seconds.

avg-interval avg-interval-val

Specifies the average inter-packet spacing.

The value is an integer ranging from 1 to 8, expressed in the Nth power of 2 seconds.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ntp write

Usage Guidelines

Usage Scenario

To set the global minimum inter-packet interval and average minimum inter-packet interval, run the ntp-service discard command, which is used to generate the RATE kiss code.

In VS mode, this command is supported only by the admin VS.

Precautions

If this command is the first NTP configuration command, the system automatically adds the ntp-service [ ipv6 ] server disable command in the configuration file to disable the NTP service. To enable the NTP service, run the undo ntp-service [ ipv6 ] server disable command. If this command is the last NTP configuration command to be deleted, the system automatically deletes the ntp-service [ ipv6 ] server disable command from the configuration file.

Example

# Set the minimum-interval to 4 and average-interval to 4.
<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 >