Junos OS

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Question on NTP + NTS

     
    Posted 12-06-2022 23:48

    Hi.

     

    I am unable to sync with public NTP server time.cloudfare.com but not with NTS enabled.

     

    TIME SYNC SUCCEEDS WITHOUT NTS:

    system {

       ntp {

            server 162.159.200.123 ;

        }

     

     

    lab@vmx-1> show ntp associations

         remote           refid     auth st t when poll reach   delay   offset  jitter

    ==============================================================================

    time.cloudflare.com

                     10.29.8.4         -  3 u    1   64    1    6.534   -0.143   0.000

     

     

    TIME SYNC FAILS WITH NTS DUE TO AUTHENTICATION FAILURE

    system {

       ntp {

            server 162.159.200.123 nts remote-identity hostname time.cloudflare.com;

       }

     

    [edit]

    lab@vmx-1# run show ntp associations   

         remote           refid     auth st t when poll reach   delay   offset  jitter

    ==============================================================================

    time.cloudflare.com

                     .AUTH.          NTS 16 u    -  128    0    0.000   +0.000   0.000

     

     

    TIME SYNC FAILS WITH NTS AND LOCALY-GENERATED PKI CERTIFICATE (NOT SURE WHY I WOULD NEED THIS, BUT MENTIONED IN DOCUMENTATION)

    system {

       ntp {

            server 162.159.200.123 nts remote-identity hostname time.cloudflare.com;

            nts local-certificate testname;

        }

     

    [edit]

    lab@vmx-1# run show ntp associations

         remote           refid     auth st t when poll reach   delay   offset  jitter

    ==============================================================================

    time.cloudflare.com

                     .AUTH.          NTS 16 u    - 1024    0    0.000   +0.000   0.000

     

     

    Regards,

    Deepak


    Juniper Business Use Only