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


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




{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