To configure the router in hybrid mode, you must:
1. Configure Synchronous Ethernet options at the [edit chassis synchronization] hierarchy
level:
•
Configure the auto-select mode of operation. You can select the clock source either
from a free-run local oscillator or from an external qualified clock.
When the router is configured with the auto-select option, the router chooses up to
two best upstream clock sources. It then uses the clock recovered from one of the
sources to lock the chassis clock. If an upstream clock with acceptable quality is
not available or if the router is configured in free-run mode, the router uses the
internal oscillator.
•
Configure the esmc-transmit and network-option options at the [edit chassis
synchronization] hierarchy level.
•
Configure one or more interfaces at the [edit chassis synchronization] hierarchy level
as Synchronous Ethernet sources as needed.
2. Configure PTP options at the [edit protocols ptp] hierarchy level.
3. Configure hybrid mode options at the [edit protocols ptp slave] hierarchy level.
The following example requires you to navigate various levels in the configuration
hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration
Mode.
Configuration
•
Hybrid Mode with Mapping of the PTP Clock Class to the ESMC Quality Level on page 296
•
Hybrid Mode with a User-Defined Mapping of the PTP Clock Class to the ESMC Quality
Level on page 297
Hybrid Mode with Mapping of the PTP Clock Class to the ESMC Quality Level
CLI Quick
Configuration
To quickly configure hybrid mode on the ge-1/2/3.0 interface with the clock source IP
address as 2.2.2.2, copy the following commands, paste them in a text file, remove any
line breaks, and then copy and paste the commands into the CLI.
[edit]
set protocols ptp slave hybrid
set protocols ptp slave interface ge-1/2/3.0 unicast-mode clock-source 2.2.2.2
set protocols ptp slave convert-clock-class-to-quality-level
Step-by-Step
Procedure
To configure hybrid mode on an ACX Series router with mapping of the PTP clock class
to the ESMC quality level, perform the following steps:
1. Configure the convert-clock-class-to-quality-level option on the slave at the [edit
protocols ptp slave] hierarchy level.
[edit protocols ptp slave]
Copyright © 2017, Juniper Networks, Inc.296
ACX Series Universal Access Router Configuration Guide