< Home

ntp-service server disable

Function

The ntp-service server disable command disables NTP server functionality.

The undo ntp-service server disable command enables NTP server functionality.

By default, the NTP server functionality is enabled. NTP server functionality will be disabled when the first configuration of the NTP function takes effect.

Format

ntp-service [ ipv6 ] server disable

undo ntp-service [ ipv6 ] server disable

Parameters

Parameter Description Value

ipv6

Indicates NTP IPv6 services.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the NTP server functionality is enabled. For the security purpose, NTP server functionality will be disabled when the first configuration of the NTP function takes effect. User need to run the undo ntp-service [ ipv6 ] server disable command to enable server functionality.

Example

# Disable IPv4 NTP server functionality.

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

# Disable IPv6 NTP server functionality.

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