Configuring NTP on JunOS

I will give an example of setting up an NTP client on a Juniper MX204 for time synchronization.

Specify the time zone:

time-zone Europe/Kiev;

Specify the IP address of the NTP server with which you want to synchronize time:

set system ntp server

If necessary, you can specify the source address:

edit system ntp
set source-address

Check the configuration and apply the changes:

edit system

commit check

Check the current time and NTP status:

run show system uptime
run show ntp status
run show system ntp threshold
run show ntp associations

New log entries should also show the correct time:

run show log messages

See also my article:
Juniper MX204 setup

Leave a comment

Leave a Reply