Routing

 View Only
last person joined: yesterday 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  NTP server x.x.x.x prefer

    Posted 11-25-2024 00:58

    Hi everyone,

    I am wondering what the below command do:

    set system ntp server 99.99.99.1 prefer

    set system ntp server 99.99.99.2

    I thought if there are multiple NTP severs like above, JUNOS will pick the one with prefer . In order to prove this, I set up this lab:

    MX is configured with following NTP:

    But vMX has selected 99.99.99.2 not 99.99.99.1 even though 99.99.99.1 is stratum 1 and is configured with " Prefer" as shown  below

    What is exactly the selection criteria vMX is using to select NTP server above?

    Much appreciated!!



    ------------------------------
    Be kind!!
    ------------------------------


  • 2.  RE: NTP server x.x.x.x prefer

    Posted 04-17-2025 12:12

    Hi

    You have to check "reach".   "reach" indicates how many times the access was successful.

    99.99.99.1's  "reach" is 0 (no reach).

    99.99.99.2's  "reach" is 3 (this means that junos could access NTP server twice), so junos selects 99.99.99.2.

    99.99.99.1's NTP server is working?



    ------------------------------
    RYOTA KOSAKA
    ------------------------------