Juniper NTP Configuration
You want to periodically resynchronise the time on the router to limit the effects of clock drift.
Configure the router to periodically get time updates from an NTP server:
# set system ntp server 192.168.100.14
# show
system {
ntp {
server 192.168.100.14;
}
}
If you have multiple NTP servers, configure them in the same way:
# set system ntp peer 192.168.1.25 prefer
# set system ntp peer 172.16.25.19
Checking NTP Status
You can check the NTP operation and the clock on the local router:
# run show ntp status
You want to check that NTP is working properly on your network, and you want to check which NTP peers your router is getting time information from.
Use the show ntp associations command to verify that NTP is operating correctly:
# run show ntp associations
remote refid st t when poll reach delay offset jitter
===================================================
*ntpserver.mynet .
GPS. 1 u 108 256 377 6.915 3.977 0.078