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 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
ntp authentication
This command is used for authentication of NTP server by the NTP client.
Syntax
Chapter 2 Time Protocols
51