[Contents] [Prev] [Next] [Index] [Report an Error]


set date ntp

Syntax

set date ntp <ntp-server>

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 ntp command.

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-address ip-address", for example, "200.49.40.1 129.127.28.4".

Usage Guidelines

See Set Date and Time from NTP Servers.

Required Privilege Level

view

Sample Output: set date ntp (to query one server)

user@host> set date ntp 172.17.12.9 
14 Sep 22:00:50 ntpdate[20603]: step time server 172.17.12.9 offset 0.000461 sec

Sample 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


[Contents] [Prev] [Next] [Index] [Report an Error]