Allowed during upgrade: Yes
utils ntp server delete
The command deletes any configured NTP server or all of them.
Usage Guidelines
After the user enters their choice, they are prompted if they would like to restart the NTP service.
Answering No results in the NTP service not being restarted after deleting the servers.
If the user chooses not to restart the NTP service, an explicit restart of the NTP service is required for the
changes to take effect.
Note
Command Syntax
utils ntp server delete
Example 1
Deleting servers with incorrect command line parameters
admin:utils ntp server delete clock1.cisco.com clock2.cisco.com
Incorrect number of optional parameters entered for delete
usage: utils ntp server delete
admin:
Example 2
Deleting single server with ntp restart
admin:utils ntp server delete
1: clock1.cisco.com
2: clock2.cisco.com
3: ntp01-syd.cisco.com
4: ntp02-syd.cisco.com
5: clock.cisco.com
a: all
q: quit
Choice: 1
Restart NTP (y/n): y
clock1.cisco.com is deleted from the list of configured NTP servers.
Continue (y/n)?y
clock1.cisco.com:
deleted successfully.
Restarting NTP on the server.
admin:
Example 3
Deleting all servers without ntp restart
admin:utils ntp server delete
1: clock1.cisco.com
2: clock2.cisco.com
3: ntp01-syd.cisco.com
Cisco Emergency Responder Command Line Interface Guide for Release 15
121
CLI Commands
utils ntp server delete
