ntp enable

Syntax

ntp enable

Description

Use this command to enable or disable NTP on the switch.

Restrictions

Validation

Error/Warning/Prompt

If timeSync is in SNTP or Timep when NTP is enabled.

Timesync is not configured to NTP.

When timesync is NTP and ntp is enabled and we try to change timesync to SNTP.

Disable NTP before changing timesync to SNTP or TIMEP

Enable ntp

switch(config)# ntp
enable       Enable/disable NTP.