Command introduced before JUNOS Release 7.4.
Set the data and time.
date-time — Date and time. Enter this string inside quotation marks.
ntp — Use a Network Time Protocol (NTP) server to synchronize the current date and time setting on the router.
ntp-server — (Optional) Specify the IP address of one or more NTP servers.
source-address source-address — (Optional) Specify the source address that is used by the router to contact the remote NTP server.
view
When you enter this command, you are provided feedback on the status of your request.
user@host> set date ntp21 Apr 17:22:02 ntpdate[3867]: step time server 172.17.27.46 offset 8.759252 sec