set date ntp
Syntax
Description
Use an NTP server to synchronize the current date and time setting on the router.
You do not need to reboot the router when you use the
set date ntpcommand.Options
none—Uses system NTP server list.
ntp-server—IP address of one or more NTP servers to query. When querying more than one server, the IP addresses are enclosed in quotes using the format"ip-addressip-address",for example, "200.49.40.1 129.127.28.4".Usage Guidelines
See Set Date and Time from NTP Servers.
Required Privilege Level
Sample Output: set date ntp (to query one server)
user@host>set date ntp 172.17.12.914 Sep 22:00:50 ntpdate[20603]: step time server 172.17.12.9 offset 0.000461 secSample Output: set date ntp (to query two servers)
user@host>set date ntp "200.49.40.1 129.127.28.4"10 Feb 13:50:21 ntpdate[794]: step time server 129.127.28.4 offset 0.000163 sec