< Home

ntp-service disable

Function

The ntp-service disable command disables NTP services.

The undo ntp-service disable command enables NTP services.

By default, both IPv4 and IPv6 NTP services are enabled.

Format

ntp-service [ ipv6 ] disable

undo ntp-service [ ipv6 ] disable

Parameters

Parameter Description Value

ipv6

Indicates NTP IPv6 services.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Run the ntp-service disable and ntp-service ipv6 disable commands in the system view, when it is not required for the device to synchronize the clock with IPv4 or IPv6 external servers or peers. The command is also used when the device need not provide the reference clock source for IPv4 or IPv6 external clients.

Disabling of NTP service will not delete the existing configurations.

Example

# Disable IPv4 NTP services.

<sysname> system-view
[sysname] ntp-service disable

# Disable IPv6 NTP service.

<sysname> system-view
[sysname] ntp-service ipv6 disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >