Disable NTP and removes the entire NTP configuration.
Options
authentication
Configure NTP authentication.
broadcast
Operate in broadcast mode.
enable
Enable/disable NTP.
max-association
Maximum number of Network Time Protocol (NTP) associations.
server
Configure a NTP server to poll for time synchronization.
trap
Enable/disable NTP traps.
unicast
Operate in unicast mode.
Example
switch(config)# no ntp
This will delete all NTP configurations on this device. Continue [y/n]?
ntp enable
This command is used to enable or disable NTP on the switch.
Syntax
ntp enable
Example
switch(config)# ntp
enable
Description
Enable or disable NTP. Use [no] to disable NTP.
Restrictions
Validation
If timeSync is in SNTP or Timep when NTP is enabled.
When timesync is NTP and ntp is enabled and we try to
change timesync to SNTP.
ntp authentication
This command is used for authentication of NTP server by the NTP client.
Syntax
Chapter 2 Time Protocols
Enable/disable NTP.
Error/Warning/Prompt
Timesync is not configured to NTP.
Disable NTP before changing timesync to
SNTP or TIMEP
51