Configure the Clock Source
For interfaces such as SONET that can use different clock sources, you can configure the source of the transmit clock on each interface. The source can be internal (also called line timing or normal timing) or external (also called loop timing). The default source is internal, which means that each interface uses the router's internal stratum 3 clock.
For T3 channels on an Channelized OC-12 interface, T1 channels on an Channelized T3 interface, and DS-0 channels on an Channelized E1 interface, the
clockingstatement is supported only for channel 0; it is ignored if included in the configuration of other channels. The clock source configured for channel 0 applies to all channels on the Channelized OC-12, Channelized DS-3, and Channelized E1 interfaces. The individual DS-3, DS-1, and DS-0 channels use a gapped 45-MHz clock as the transmit clock. For more information, see Clock Sources on Channelized Interfaces.
To configure loop timing on an interface, include the
clocking externalstatement at the[edit interfacesinterface-name]hierarchy level:[edit interfacesinterface-name]clocking external;To explicitly configure line timing on an interface, include the
clocking internalstatement at the[edit interfacesinterface-name]hierarchy level:[edit interfacesinterface-name]clocking internal;