< Home

ntp-service server disable

Function

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

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

By default, NTP server function is disabled.

Format

ntp-service [ ipv6 ] server disable

undo ntp-service [ ipv6 ] server disable

Parameters

Parameter Description Value

ipv6

Indicates IPv6 NTP services.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

For the security purpose, NTP server function can be disabled when the device does not need to act as a server.

By default, NTP server functionality is disabled. To enable NTP server functionality, first configure other NTP functions, such as a clock source, and then run the undo ntp-service server disable command to make the NTP server function take effect. If you run the undo ntp-service [ ipv6 ] server disable command alone, the NTP server function cannot take effect.

Example

# Disable IPv4 NTP server function.

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

# Disable IPv6 NTP server function.

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