4: ntp02-syd.cisco.com
5: clock.cisco.com
a: all
q: quit
Choice: a
Restart NTP (y/n): n
This results in all the configured NTP servers being deleted.
Continue (y/n)?y
clock1.cisco.com:
deleted successfully.
clock2.cisco.com:
deleted successfully.
ntp01-syd.cisco.com:
deleted successfully.
ntp02-syd.cisco.com:
deleted successfully.
clock.cisco.com:
deleted successfully.
The NTP service must be restarted for the changes to take effect.
admin:
Example 4
Deleting all servers when no servers are configured
admin:utils ntp server delete
There are no NTP servers configured to delete.
Requirements
Command privilege level: 0
Allowed during upgrade: Yes
utils ntp server list
The command lists the configured NTP servers.
Command Syntax
utils ntp server list
Example 1
Listing servers with incorrect command line parameters
admin:utils ntp server list all
Incorrect optional parameter entered for list
usage: utils ntp server list
admin:
Example 2
Listing servers
admin:utils ntp server list
clock1.cisco.com
clock2.cisco.com
ntp01-syd.cisco.com
ntp02-syd.cisco.com
clock.cisco.com
admin:
Cisco Emergency Responder Command Line Interface Guide for Release 15
122
CLI Commands
utils ntp server list