ntp enable
This command is used to enable or disable NTP on the switch.
Syntax
ntp enable
Example
switch(config)# ntp
enable Enable/disable NTP.
Description
Enable or disable NTP. Use [no] to disable NTP.
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 |