Related Documentation
- ACX, MX Series
- Precision Time Protocol Overview
- ACX, MX, PTX Series
- Synchronous Ethernet Overview
- MX Series
- Example: Configuring Hybrid Mode and ESMC Quality Level Mapping
- Understanding Hybrid Mode
Configuring Hybrid Mode and ESMC Quality Level Mapping
You can configure hybrid mode (that is, the combined operation of Synchronous Ethernet and Precision Time Protocol (PTP)) on MX240, MX480, and MX960 3D Universal Edge Routers and on MX80 3D Universal Edge Routers with precision timing support (MX80-P) and with timing support (MX80-T). On the MX240, MX480, and MX960 routers, the combined operation is possible only when the PTP client and the Synchronous Ethernet source are on the same enhanced Modular Port Concentrator (MPC) and are traceable to the same master. When acting as a PTP slave, an MX80-P or MX80-T router can accept any external Synchronous Ethernet clock as reference. Note that when the selected Synchronous Ethernet reference fails, the router continues to work in PTP mode.
In hybrid mode, the synchronous Ethernet equipment clock (EEC) on the MPC derives the frequency from Synchronous Ethernet and the phase and time of day from PTP.
The hybrid mode is configured on the slave. On the slave, one or more interfaces are configured as Synchronous Ethernet source interfaces.
The ESMC quality level value is mapped to the clock class value either by mapping the PTP clock class to the ESMC quality level or by configuring a user-defined mapping of PTP clock class to ESMC quality level. For more information , see Understanding ESMC Quality Level Mapping. The following procedures explain configuring hybrid mode with either of the modes in detail.
Configuring the Router in Hybrid Mode
To configure the router in hybrid mode, you must:
- 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.
- 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.
- Configure PTP options at the [edit protocols ptp] hierarchy level.
- Configure hybrid mode options at the [edit protocols ptp slave] hierarchy level.
Configuring Hybrid Mode with Mapping of the PTP Clock Class to the ESMC Quality Level
To configure hybrid mode options with mapping of the PTP clock class to the ESMC quality level, perform the following steps:
- In configuration mode, go to the [edit protocols ptp slave] hierarchy level:[edit]user@host# edit protocols ptp slave
- Configure the convert-clock-class-to-quality-level option to set the default mapping between the ESMC SSM quality level
and the PTP clock class. [edit protocols ptp slave]user@host# set convert-clock-class-to-quality-level
- Configure the hybrid mode option on the slave.[edit protocols ptp slave]user@host# edit hybrid
- Configure the Synchronous Ethernet mapping option in hybrid
mode.[edit protocols ptp slave hybrid]user@host# edit synchronous-ethernet-mapping
- Configure the IP address of the clock source.[edit protocols ptp slave hybrid synchronous-ethernet-mapping]user@host# edit clock-source ip-address
- Configure one or more Synchronous Ethernet source interfaces
for the slave as needed.[edit protocols ptp slave hybrid synchronous-ethernet-mapping clock-source ip-address]user@host# set interface interface1-nameuser@host# set interface interface2-name
Note: You must first configure these interfaces at the [edit chassis synchronization] hierarchy level as Synchronous Ethernet sources. For information about configuring these interfaces, see synchronization (MX Series).
Configuring Hybrid Mode with a User-Defined Mapping of the PTP Clock Class to the ESMC Quality Level
To configure hybrid mode options with a user-defined mapping of the PTP clock class to the ESMC quality level, perform the following steps:
- In configuration mode, go to the [edit protocols ptp slave] hierarchy level:[edit]user@host# edit protocols ptp slave
- To override the default mapping option, perform the following
steps:
- Configure the clock-class-to-quality-level-mapping option with one of the quality level values. The quality level values
are prc, prs, sec, smc, ssu-a, ssu-b, st2, st3, st3e, st4, stu, and
tnc.[edit protocols ptp slave]user@host# edit clock-class-to-quality-level-mapping quality-level prc | prs | sec | smc | ssu-a | ssu-b | st2 | st3 | st3e | st4 | stu | tnc
- Configure the clock-class option for the set
quality level. The clock class value ranges from 80 through 109. [edit protocols ptp slave clock-class-to-quality-level-mapping quality-level quality-level-value]user@host# set clock-class clock-class
- Configure the clock-class-to-quality-level-mapping option with one of the quality level values. The quality level values
are prc, prs, sec, smc, ssu-a, ssu-b, st2, st3, st3e, st4, stu, and
tnc.
- Configure the hybrid mode option on the slave.[edit protocols ptp slave]user@host# edit hybrid
- Configure the Synchronous Ethernet mapping option in hybrid
mode.[edit protocols ptp slave hybrid]user@host# edit synchronous-ethernet-mapping
- Configure the IP address of the clock source.[edit protocols ptp slave hybrid synchronous-ethernet-mapping]user@host# edit clock-source ip-address
- Configure one or more Synchronous Ethernet source interfaces
for the slave as needed.[edit protocols ptp slave hybrid synchronous-ethernet-mapping clock-source ip-address]user@host# set interface interface1-nameuser@host# set interface interface2-name
Note: You must first configure these interfaces at the [edit chassis synchronization] hierarchy level as Synchronous Ethernet sources. For information about configuring these interfaces, see synchronization (MX Series).
For information about verifying the aforementioned procedure, see Example: Configuring Hybrid Mode and ESMC Quality Level Mapping.
Related Documentation
- ACX, MX Series
- Precision Time Protocol Overview
- ACX, MX, PTX Series
- Synchronous Ethernet Overview
- MX Series
- Example: Configuring Hybrid Mode and ESMC Quality Level Mapping
- Understanding Hybrid Mode
Published: 2013-03-07
Related Documentation
- ACX, MX Series
- Precision Time Protocol Overview
- ACX, MX, PTX Series
- Synchronous Ethernet Overview
- MX Series
- Example: Configuring Hybrid Mode and ESMC Quality Level Mapping
- Understanding Hybrid Mode