Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Synchronous Ethernet on 10-Gigabit Ethernet MIC for MX Series Routers

Synchronous Ethernet (ITU-T G.8261) is a physical layer technology that functions regardless of the network load. 10-Gigabit Ethernet MIC with XFP supports Synchronous Ethernet in LAN-PHY framing mode.

Overview

Synchronous Ethernet (ITU-T G.8261) is a physical layer technology that functions regardless of the network load. Synchronous Ethernet supports hop-by-hop frequency transfer, where all interfaces on the trail must support Synchronous Ethernet.

10-Gigabit Ethernet MIC with XFP supports Synchronous Ethernet in LAN-PHY framing mode. This is possible only when all the Physical Interface Cards (PICs) under the given Modular Interface Card (MIC) and its ingress interfaces are configured in LAN framing mode. For more information about configuring LAN framing mode, see Example: Configure Framing Mode for Synchronous Ethernet with 10-Gigabit Ethernet MIC for MX Series Routers. In this mode, the LAN frequency is directly supplied by the MIC's on-board clocking circuitry.

On MX240, MX480, and MX960 routers, when the PIC-level framing type is changed from LAN mode to non-LAN mode (on a MIC), the entire MPC restarts.

The default interface framing mode is LAN-PHY framing mode. For WAN-PHY framing mode operation, interface framing needs to be set to the wan-phy framing option explicitly. For more information about the interface-level and PIC-level configuration combination, see Example: Configure Framing Mode for Synchronous Ethernet with 10-Gigabit Ethernet MIC for MX Series Routers.

Synchronous Ethernet is not supported in the following instances:

  • MX240, MX480, and MX960 routers with 10-Gigabit Ethernet MICs or 10-Gigabit Ethernet built-in interfaces do not support Synchronous Ethernet or Ethernet Synchronization Message Channel (ESMC) transmit in LAN physical layer device (LAN-PHY) framing mode. To configure Synchronous Ethernet or ESMC transmit interfaces on these routers with 10-Gigabit Ethernet Interfaces, you must configure all the 10-Gigabit Ethernet interfaces on the MIC in WAN physical layer device (WAN PHY) framing mode.

  • Primary and secondary sources cannot be from the same MIC. Alternatively, only the port with the highest quality clock source from a given MIC is used for clock selection.

  • Synchronous Ethernet is not supported on 10-Gigabit Ethernet ports in LAN-PHY mode except for the 10-Gigabit Ethernet MIC with XFP.

  • Prior to Junos OS Release 11.4, Synchronous Ethernet was supported only in WAN-PHY framing mode on the 10-Gigabit Ethernet MICs with XFP.

On the MX240, MX480, and MX960 Universal Routing Platforms, there are two slots for MICs which are labeled as PIC 0/1 and PIC 2/3 on the Modular Port Concentrators (MPCs).

Note that hereon the term PIC is being used in synonymous with the term MIC slot or Ethernet ports (in the case of fixed MX80 chassis).

You can configure a MIC in LAN-PHY framing mode by configuring all the constituent logical PICs in the same LAN-PHY framing mode on MX240, MX480, and MX960 routers.

You can also alternatively configure a MIC in WAN-PHY framing mode on MX240, MX480, and MX960 routers by configuring all the constituent logical PICs in the same WAN-PHY framing mode in any one of the following configurations:

  • No framing mode configured on all the constituent logical PICs of the MIC.

  • Incompatible framing mode configured on constituent logical PICs of the MIC.

  • No framing mode configured on some of the constituent logical PICs of the MIC.

All the logical PICs in a single MIC must be configured in the same framing mode.

You can also configure the framing mode at the interface level and at the PIC level. For more information about configuring the framing mode at the PIC level and at the interface level, see Example: Configure Framing Mode for Synchronous Ethernet with 10-Gigabit Ethernet MIC for MX Series Routers.

When the PIC-level framing type is changed between LAN mode and non-LAN mode on a MIC, the entire MPC restarts in the case of MX240, MX480, and MX960 routers.

By default, the PIC-level framing mode is set to WAN framing type, that is, e1 | e3 | sdh | sonet | t1 | t3. Synchronous Ethernet works on the 10-Gigabit Ethernet MIC with XFP in LAN-PHY mode only when the PIC-level framing configuration is configured to the lan framing type explicitly.

By default, the interface-level framing mode is set to lan-phy. For WAN-PHY operation, interface framing needs to be set to wan-phy framing explicitly.

Table 1 summarizes the possible configuration combination for Synchronous Ethernet on the 10-Gigabit Ethernet MIC with XFP that are available at the interface level and the PIC level:

Table 1: Configuration Options

Framing Configuration

Operation

PIC Level

Interface Level

Interface Status

Will Synchronous Ethernet Function?

Will Non-Synchronous Ethernet Functions Work?

LAN

LAN-PHY (Default)

Up

Yes

Yes

LAN

WAN-PHY

Down (Framing Conflict)

No

No

WAN (Default)

LAN-PHY (Default)

Up

No

Yes

WAN (Default)

WAN-PHY

Up

Yes

Yes

The following cases and corresponding behaviors explain Table 1 in detail.

  • The PIC is being brought up online:

    This case is applicable when either the MIC is restarted or when the MIC is being brought online by an operational command. In this case, the behavior can be presented as:

    • No framing mode is configured for any or all of the constituent logical PICs of the MIC—The MIC is configured to operate in WAN-PHY framing mode as the WAN mode is the default mode.

      Here, the WAN-PHY framing-based interfaces operate in normal state and provides Synchronous Ethernet services. However, the LAN-PHY framing-based interfaces operate normally but cannot provide Synchronous Ethernet services.

    • All the constituent logical PICs of a MIC are configured in LAN-PHY mode—The MIC is configured to operate in LAN-PHY framing mode.

      In this scenario, the WAN-PHY framing-based interfaces cannot operate in normal state. As a result, these interfaces are administratively brought down. The reason for the interface being in admin-down state is displayed as Framing Conflict in the output of the show interfaces operational command. This is because the interface framing configuration (WAN-PHY) is in conflict with the PIC-level framing configuration of LAN-PHY. Because the interfaces are in admin-down state, neither the Synchronous Ethernet services nor other services are provided.

      Alternatively, all the LAN-PHY framing-based interfaces can operate in normal state and can continue to provide any of the Synchronous Ethernet services.

  • The PIC is already online:

    • In WAN-PHY framing mode—The interface framing configuration on the PIC has changed from WAN-PHY to LAN-PHY.

      The interface continues to be operational for data transceiving purposes. However, it cannot provide any of the Synchronous Ethernet services.

    • In WAN-PHY framing mode—The interface framing configuration on the PIC has changed from LAN-PHY to WAN-PHY.

      The interface continues to be operational for data transceiving purposes, and it can also provide Synchronous Ethernet services.

    • In LAN-PHY framing mode—The interface framing configuration on the PIC has changed from WAN-PHY to LAN-PHY.

      The interface is operational for data transceiving purposes, and it can also provide Synchronous Ethernet services.

    • In LAN-PHY framing mode—The interface framing configuration on the PIC has changed from LAN-PHY to WAN-PHY.

      The interface is down; therefore, it cannot provide any Synchronous Ethernet services.

Support for Synchronous Ethernet is limited in the following instance:

  • Primary and secondary sources cannot be from the same MIC. Alternatively, only the port with the highest quality clock source from a given MIC is used for clock selection.

The following clocking modes are applicable on MX Series routers with 10-gigabit ethernet MIC.

Distributed Clocking Mode

In the distributing clocking mode, the Switch Control Board (SCB) supports synchronizing the MX Series router’s chassis to an internal Stratum 3 free-run oscillator. The Synchronous Ethernet timing messages are sent through the chassis to support the network timing trails that are traceable to a high-quality timing source. The timing messages are carried through the network by the Ethernet switches that were traditionally handled by time-division multiplexing (TDM) equipment over SONET/SDH interfaces. The distributing clocking mode is handled through ESMC messages. The ESMC support is based on the ITU-G.8264 specification. The ESMC messages transmit the clock quality of the line timing signal in the form of the (Synchronous Status Message) SSM TLV that is carried in the ESMC packet.For more information, see Ethernet Synchronization Message Channel Overview.

The distributed clocking mode has the following limitations:

  • There is no SCB centralized clock module to synchronize the entire chassis.

  • The recovered line timing is driven out only by the line interface of the 16-port 10-Gigabit Ethernet MPC.

  • The distributed mode does not support external clock interface timing.

Centralized clocking mode overcomes these limitations by distributing and driving timing out on all the chassis line interfaces.

Centralized Clocking Mode

The Enhanced SCB SCBE on the MX240, MX480, and MX960 routers supports a Stratum 3 clock module. This clock module functions as a centralized point within the chassis for clock monitoring, filtering, holdover, and selection. It has only one external clock interface.

The Enhanced SCB SCBE2 on the MX240, MX480, and MX960 routers supports two external clock interfaces external-0/0 and external-1/0. The external-0/0 interface refers to the external interface on the SCB in slot 0 and the external 1/0 interface refers to the external interface on the SCB in slot 1.

In SONET/SDH networks, the routers use the best-quality clock available in the network. The quality level of various clock sources in the network is determined by monitoring the Synchronization Status Messages (SSMs) from the clock sources. An SSM occupies a fixed location in the SONET frame. On Ethernet networks that use Synchronous Ethernet for clock synchronization, the SSM is not a part of the timing signal. The SSM is carried in the Ethernet packets that flow in the Ethernet Synchronization Message Channel (ESMC). By interpreting the SSM values, the router determines the clock quality associated with the clock source, and performs its clock selection accordingly. The ESMC messages transmit the clock quality of the line timing signal in the form of the SSM TLV that is part of the ESMC packet.

Note that the clock in the router goes into holdover mode in the absence of any clock sources with best quality level and in turn uses the timing information stored in its buffer to synchronize itself.

The following processes play a crucial role during external synchronization of the clock sources in the control board. Note that PTX Series routers need two best clock sources that act as primary and secondary clock sources, whereas MX Series routers need only one best clock source.

  • The clock sync process (clksyncd) performs the clock selection and participates in ESMC message exchange. For clock selection, in the absence of user-configured primary or secondary clock sources, the clksyncd runs a clock selection algorithm and selects the two best clocks available as the primary and secondary clock sources, respectively, for a PTX Series router or selects a best clock for an MX Series router. The clksyncd also sends out periodic ESMC packets to transmit its clock’s quality level to the other routers in the network—this is specified in the SSM TLV in the ESMC packet—and receives ESMC packets from other clock sources and tracks the received clock signal quality level. ESMC packets are received on all the interfaces that are configured as clock sources. ESMC packets are also transmitted to the clock-source interfaces on other routers, as well as to the interfaces that are configured to receive ESMC packets on other routers.

  • The chassis process (chassisd) is responsible for interfacing with the Enhanced Switch Control Board (SCBE) on MX Series routers and Centralized Clock Generator (CCG) on PTX Series routers. It monitors the clock quality and assists SCBE or the CCG to determine the clock source with the best quality level. When it detects clock quality deterioration, it informs clksyncd to select another primary clock source. After clock selection chassisd is updated with the latest clock source information. Note that in the absence of user-configured primary and secondary clock sources on PTX Series routers, the clock sources are selected through the clock algorithm and chassisd is updated with the latest clock information. Consequently, a new interprocess connection is established between chassisd and clksyncd.

  • The periodic packet management process (ppmd) performs periodic transmission of ESMC packets to others routers in the network. It also receives incoming ESMC packets from other routers. The ppmd filters out repetitive ESMC packets to reduce packet flows between ppmd and clksyncd.

The following explains a simple clock selection process using ESMC packets:

  • The Synchronous Ethernet (line timing) signal is an Ethernet physical layer signal that is received on the Ethernet interface. ESMC is a Layer 2 Ethernet packet. The Synchronous Ethernet signal and the ESMC packets are received on the Ethernet interface of the router.

  • The received Synchronous Ethernet signal is sent to the clock hardware in the SCBE or in the CCG, whereas the ESMC packets—with the quality level—is directed to the clksyncd.

  • The clock selection algorithm in clksyncd selects the best clock signal based on the quality level in the ESMC packet from one of the interfaces that is configured as a clock source. On PTX Series routers, the algorithm also selects the next best—when available—clock as the secondary clock.

  • The best clock information is transmitted to the chassisd, which in turn generates a command to the clock hardware to use the best clock as the reference clock. On PTX Series routers, both primary and secondary clocks are used..

  • The reference clock uses the best—primary in PTX Series routers—clock signal as the system clock that is used to generate Synchronous Ethernet signal to transmit on all its interfaces.

  • The ESMC transmit module in clksyncd is notified of the quality level corresponding to the best—primary—clock. This quality level is used for ESMC packets that are transmitted out of the router.

  • ESMC packets are transmitted on all the source interfaces and on those interfaces that are configured as esmc-transmit interfaces.

The centralized mode is applicable to mobile backhaul infrastructures and for network transition from traditional TDM to Ethernet network elements with the support of Synchronous Ethernet.