Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



https://www.fir3net.com/Firewalls/Juniper/juniper-srx-configuring-time-date-and-ntp.html

Domain name server

name-server

set system domain-name  ??????????

set system name-server 8.8.8.8

ntp server

http://www.pool.ntp.org/zone/uk )

set system ntp server 0.uk.pool.ntp.org prefer
set system ntp server 1.uk.pool.ntp.org
set system ntp server 2.uk.pool.ntp.org

time zoneset system time-zone Europe/London

operation mode:

> set date ntp 0.uk.pool.ntp.org

root> set date ntp 0.uk.pool.ntp.org
27 Nov 12:23:10 ntpdate[4158]: step time server 188.114.116.1 offset -29467.397713 sec

root> set date ntp 0.uk.pool.ntp.org
27 Nov 12:23:23 ntpdate[4181]: step time server 46.43.15.189 offset 0.000616 sec



Code Block
titlentp status
root@mx480-re0> show ntp associations
   remote         refid           st t when poll reach   delay   offset  jitter
===============================================================================
 zev.w.faelix.net
                  .STEP.          16 -  253   64    0    0.000    0.000 4000.00
 ns1.do.steersnet.org.uk
                  .STEP.          16 -  423   64    0    0.000    0.000 4000.00
 ns0.luns.net.uk  158.43.192.66    2 -   25   64    1    8.962    0.200   0.000



Pay attention to the "*" and the "+"
{master:1}
root@QFX5100-1-RL102> show ntp associations
   remote         refid           st t when poll reach   delay   offset  jitter
===============================================================================
*time.shf.uk.as44574.net
                  178.79.160.57    3 -   44   64  377    5.202   -0.192   0.601
+ams.aput.net     131.176.107.13   2 -   37   64  357    7.042    1.003   0.693
+195.219.205.9    195.219.14.21    2 -   42   64  377    2.038    0.225   0.364


{master}
root@mx480-re0> show ntp status
status=c035 sync_alarm, sync_unspec, 3 events, event_clock_reset,
version="ntpd 4.2.0-a Mon Feb 27 21:58:56  2017 (1)", processor="amd64",
system="FreeBSDJNPR-10.3-20170209.344539_build", leap=11, stratum=16,
precision=-23, rootdelay=0.000, rootdispersion=0.525, peer=0,
refid=STEP, reftime=00000000.00000000  Thu, Feb  7 2036  6:28:16.000,
poll=4, clock=e05f51da.781e746c  Mon, Apr 15 2019 19:54:18.469, state=3,
offset=0.000, frequency=0.000, jitter=0.000, stability=0.000












...