ntp disable

Disables the NTP server/client mode. Disabling the NTP server/client mode does not remove the configuration.

Syntax

ntp disable { ntp disable} [ serve]
no ntp disableserve

Command Default

By default, the NTP is enabled.

Parameters

serve
If this keyword is specified, then NTP will not serve the time to downstream devices. This keyword disables the NTP server mode functionalities.If this keyword is not specified, then both NTP client mode and NTP server mode functionalities will be disabled.

Modes

Global configuration mode

Examples

Use no to disable NTP server and client mode.

Disable NTP server and client mode:
 device(config)# ntp disable
Disable NTP client mode:
 device(config)# ntp disable serve