After you have configured the PTP master clock interface, enter the commit command
from configuration mode.
Example: Configuring a PTP Boundary Clock
This example shows how to configure a Precision Timing Protocol (PTP) boundary clock.
A boundary clock must include the configuration of at least one master and at least one
slave. The boundary master receives time from a remote master through the slave, and
in turn passes that time on to clock clients, which are in a slave relationship to the
boundary master. In this example, you configure a master, slave, clock source, and clock
client.
NOTE: ACX5048 and ACX5096 routers do not support boundary clock.
•
Requirements on page 248
•
Overview on page 248
•
Configuration on page 248
Requirements
This example uses the following hardware and software components:
NOTE: This example also applies to QFX Series switches. QFX Series switches
do not support Gigabit Ethernet interfaces. Instead, configure PTP boundary
clock parameters on 10-Gigabit Ethernet interfaces.
•
An ACX Series router
•
Junos OS Release 12.3 or later
Overview
In this example, the slave clock or clock client immediately receives announce and
synchronization packets after completion of the configuration.
Configuration
CLI Quick
Configuration
To quickly configure this example, copy the following commands, paste them in a text
file, remove any line breaks, change any details necessary to match your network
configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy
level:
set protocols ptp clock-mode boundary
set protocols ptp slave interface ge-1/3/9.0 unicast-mode transport ipv4
set protocols ptp slave interface ge-1/3/9.0 unicast-mode clock-source 192.1.1.2
local-ip-address 192.1.1.1
set protocols ptp master interface ge-1/0/0.0 unicast-mode transport ipv4
Copyright © 2017, Juniper Networks, Inc.248
ACX Series Universal Access Router Configuration Guide