In Junos Evolved PTX platforms Zarlink read can fail which causes phy-sync failure in PTP.
The output of the following command from FPC shell displays state FALSE:
user@router-fpc0:pfe> show timingd phydriver sync_state Current PHY DRIVER state: FALSE
As a result, time of the day (TOD) is not updated on the affected FPC:
user@router-re0> show ptp time detail Since 1/1/1970 : 1694673867 seconds Calendar Time : Thu Sep 14 08:44:27 2023 BMC Slot : CB0 BMC TOD : 1694673860 Slot level info: Slot PTP-state DPLL lock PhySync TOD seconds FPC0 NA TRUE FALSE 1694665758 <<<<<<< FPC1 NA TRUE TRUE 1694673860 CB0 PHASE ALIGNED TRUE NA 1694673860 root@router-fpc0:pfe> show timingd ptp nbr-upd-info Failed to get TOD time! Error: 11 <<<<<<<
The issue fixed. The fixed releases can be checked by contacting JTAC.
As a workaround (temporary), from FPC shell type below commands:
test clockd zarlink read 0x38a 1 test clockd zarlink write 0x38a 0x8 test clockd zarlink read 0x38a 1