|
|
This chapter is divided into the following sections:
Due to the real-time nature of voice and video, more configuration and planning is required for voice traffic than is required for traditional data traffic. Because voice and video streams are real-time and continuous, the information is normally generated by the source device and received by the destination device at a synchronized fixed rate. If the source and destination clocking is not synchronized, meaning the devices generate information at different rates, there will be a loss of information as one side over-runs and the other side under-runs.
As a result, for voice and video configurations a single master clock source must be configured to make the network synchronous. The master clock must be used as the clock source for all devices on the network, even when the voice traffic is compressed.
Clocking mismatches can be caused by a variety of configuration problems. The following situations can cause problems:
To ensure a synchronized system, you must configure a master clock somewhere within the network, and distribute and recover the clock throughout the network. This will allow end devices at opposite ends of the network to reference a common clock source. If you cannot configure a synchronized system, then you can configure multiple clock sources on your network as long as they are accurate enough that the clocking on both clock sources will match.
You can statically configure the Cisco MC3810 to receive or generate clocking using one of the following scenarios:
For more information on how to configure clocking for these scenarios, see the "Configuring the Clock Source for the Cisco MC3810" section.
In addition, you can define a hierarchy of potential clock sources so that when the primary clock source goes down, the Cisco MC3810 can automatically switch to a backup clock source. For more information, see the "Configuring a Hierarchy of Clock Sources for Backup Purposes" section.
Because of the different ways that PSTNs provide clocking and how data networks provide clocking, there may be incompatibilities when using the Cisco MC3810 to integrate voice and data networks. As a result, the Cisco MC3810 must synchronize the disparate clocking, and you must be careful in how you configure your clock sources. The clocking can be derived from one of the following sources:
Depending on the configuration, you must determine how to configure the appropriate interface on the Cisco MC3810 for the clocking configuration. Each interface provides different clocking support, and depending on the interface used, the commands required to configure the clocking are different. You must also determine whether the Cisco MC3810 interface will be the DCE or the DTE in the configuration.
This section is divided into the following sections:
When the Cisco MC3810 recovers clocking from a network device attached to a T1 or E1 controller, the clock recovery circuit on the controller will place a recovered 2-MHz clock on the common circuit toward the network-clock Phase-Lock-Loop (PLL). When the network-clock PLL circuit receives the valid 2-MHz clock from the controller, the network-clock PLL synchronizes to the recovered clock and redistributes the clock to the rest of the system. The other T1/E1 controller and the serial ports on the Cisco MC3810 then derive their clocking from the network-clock PLL.
When you configure a T1/E1 controller to recover clocking from a network device, configure the clock-source controller command to the line setting.
Figure 4-1 shows an example in which the Cisco MC3810 obtains its clock source from a network device attached to controller T1/E1 0 (the MFT). The illustration shows the appropriate clock source command setting to configure on the T1 or E1 controller, and the clock rate network-clock command to configure on the serial ports. The arrows show the propagation direction of the clocking signal.

To make sure the network is synchronized, the attached network device that obtains its clocking from the Cisco MC3810 (from the T1/E1 controller clock source set to internal) should be configured to derive its clock from the T1/E1 signal transmitted by the Cisco MC3810. If the T1/E1 signal received from the attached network device is not synchronous with the Cisco MC3810 network-clock, then frame and clock slips will occur at the T1/E1 controller, causing loss of data.
To configure the Cisco MC3810 to obtain its clock source from a network device attached to controller T1/E1 0, use the following commands beginning in global configuration mode:
| Step | Command | Purpose |
|---|---|---|
1 | router(config)# controller {T1 | E1} 0
| Enter controller configuration mode for controller T1/E1 0. |
2 | router(config-controller)# clock source line | Configure controller T1/E1 0 to obtain the Cisco MC3810 clock source from an attached network device. |
3 | router(config)# controller {T1 | E1} 1
| Enter controller configuration mode for controller T1/E1 1. |
4 | router(config-controller)# clock source internal | Configure controller T1/E1 1 to obtain its clocking from the internal network-clock PLL. |
5 | router(config)# network-clock base-rate {56k | 64k}
| Set the network clock base-rate for the serial ports. The default is 56k. |
6 | router(config)# interface serial 0 | Enter interface configuration mode for serial 0. |
7 | router(config-if)# clock rate network rate | |
8 | Repeat steps 6 and 7 for serial port 1. | |
9 | router(config)# exit | Exit configuration mode. |
10 | router# show network-clocks | Display the network clock configuration. |
Figure 4-2 shows an example in which the Cisco MC3810 obtains its clock source from a network device attached to controller T1/E1 1 (the DVM).

To configure the Cisco MC3810 to obtain its clock source from a network device attached to controller T1/E1 1, use the following commands beginning in global configuration mode:
| Step | Command | Purpose |
|---|---|---|
1 | router(config)# controller {T1 | E1} 1
| Enter controller configuration mode for controller T1/E1 1. |
2 | router(config-controller)# clock source line | Configure controller T1/E1 1 to obtain the Cisco MC3810 clock source from an attached network device. |
3 | router(config)# controller {T1 | E1} 0
| Enter controller configuration mode for T1/E1 0 to configure the clock source for the MFT. |
4 | router(config-controller)# clock source internal | Configure controller T1/E1 1 to obtain its clocking from the internal network-clock PLL. |
5 | router(config)# network-clock base-rate {56k | 64k}
| Set the network clock base-rate for Cisco MC3810. The default is 56k. |
6 | router(config)# interface serial 0 | Enter interface configuration mode for serial 0. |
7 | router(config-if)# clock rate network rate | |
8 | router(config)# interface serial 1 | Enter interface configuration mode for serial 1. |
9 | router(config-if)# clock rate network rate |
When you configure a T1/E1 controller to loop-time the clocking back to a network device, you configure the clock-source controller command to the loop-timed setting. The clock-source command on the second T1/E1 controller must be set to the internal setting.
When a controller's clock source is set to loop-timed, that places the internal network clock PLL into free-running mode.
Figure 4-3 shows an example of a configuration in which the input clock source on the MFT is loop-timed back to the clock source device.

To configure the Cisco MC3810 to use loop-timed clock mode on controller T1/E1 0, use the following commands beginning in global configuration mode:
| Step | Command | Purpose |
|---|---|---|
1 | router(config)# controller {T1 | E1} 0
| Enter controller configuration mode for T1/E1 0. |
2 | router(config-controller)# clock source loop-timed | Configure controller T1/E1 0 to take the clock from the receive line and transmit it back to the source. |
3 | router(config)# controller {T1 | E1} 1
| Enter controller configuration mode for T1/E1 1. |
4 | router(config-controller)# clock source internal | Configure controller T1/E1 1 to obtain its clocking from the internal network-clock PLL. Note To configure controller T1 1 for loop-timed mode, follow the same configuration procedure, but change the controller that will be configured for loop-timed mode. |
5 | router(config)# network-clock base-rate {56k | 64k}
| Set the network clock base-rate for the serial ports. The default is 56k. |
6 | router(config)# interface serial 0 | Enter interface configuration mode for serial 0. |
7 | router(config-if)# clock rate network rate | |
8 | Repeat steps 6 and 7 for serial port 1. | |
If serial interface 0 is configured as a DTE, it can accept clocking from the attached DCE and use the clocking to drive the network-clock PLL on the Cisco MC3810. The clocking is then distributed to the T1/E1 controllers and to serial interface 1.
Because the input to the network-clock PLL must be 2 MHz, a clock multiplier circuit is used to multiply the incoming clock on serial 0 to 2 MHz in 8 KHz increments. This multiplier is configured using the clock-rate line serial interface command. This command is valid only when serial 0 is configured as the DTE.
Figure 4-4 shows an example of the Cisco MC3810 obtaining clocking from a network device attached to serial 0.

To configure the Cisco MC3810 to use a network device attached to serial interface 0 as the clock source, use the following commands beginning in global configuration mode:
| Step | Command | Purpose |
|---|---|---|
1 | router(config)# network-clock base-rate {56k | 64k}
| Set the network clock base-rate for the serial ports. The default is 56k. |
2 | router(config)# network-clock-select 1 serial 0 | Configure the network-clock PLL to use the multiplied 2-MHz clock from serial 0. |
3 | router(config)# interface serial 0 | Enter interface configuration mode for serial 0. |
4 | router(config-if)# clock rate line rate | |
5 | router(config)# interface serial 1 | Enter interface configuration mode for serial 1. |
6 | router(config-if)# clock rate network-clock rate | Configure the network clock line rate for serial 1 acting in DCE mode. The rate must be a multiple of the value set with the network-clock base-rate command and must match the value set in step 1. |
7 | router(config)# controller {T1 | E1} 0
| Enter controller configuration mode for T1/E1 0. |
8 | router(config-controller)# clock source internal | Configure controller T1/E1 0 to obtain its clocking from the internal network-clock PLL. |
9 | router(config)# controller {T1 | E1} 1
| Enter controller configuration mode for T1/E1 1. |
10 | router(config-controller)# clock source internal | Configure controller T1/E1 1 to obtain its clocking from the internal network-clock PLL. |
11 | router(config)# exit | Exit configuration mode. |
12 | router# show network-clocks | Display the network clock configuration. |
Figure 4-5 shows an example of the Cisco MC3810 using its internal clock source and propagating it outward onto the associated networks.

To configure the Cisco MC3810 to use its internal 2-MHz clock as the clock source, use the following commands beginning in global configuration mode:
| Step | Command | Purpose |
|---|---|---|
1 | router(config)# network-clock base-rate {56k | 64k}
| Set the network clock base-rate for the serial ports. The default is 56k. |
2 | router(config)# interface serial 0 | Enter interface configuration mode for serial 0. |
3 | router(config-if)# clock rate network rate | |
4 | router(config)# interface serial 1 | Enter interface configuration mode for serial 1. |
5 | router(config-if)# clock rate network rate | Configure the network clock line rate on serial 1 acting in DCE mode. The rate must be a multiple of the value set with the network-clock base-rate command and must match the value set in step 1. |
6 | router(config)# controller {T1 | E1} 0
| Enter controller configuration mode for T1/E1 0. |
7 | router(config-controller)# clock source internal | Configure controller T1/E1 0 to obtain its clocking from the internal network-clock PLL. |
8 | router(config)# controller {T1 | E1} 1
| Enter controller configuration mode for T1/E1 1. |
9 | router(config-controller)# clock source internal | Configure controller T1/E1 1 to obtain its clocking from the internal network-clock PLL. |
Using the network-clock-select command, you can configure a dynamic hierarchy of clock sources that are used if the primary clock source fails. Each clock source is assigned a priority. A higher priority number of a clock source places that source higher in the clocking hierarchy. The highest clock source priority is used as the default.
When a clock source fails, the Cisco MC3810 switches to the clock source in the hierarchy with the next highest priority. For example, if the clock source with priority 1 (the highest priority) fails, the Cisco MC3810 switches to the clock source with priority 2. Then, if the clock source with priority 2 fails, the Cisco MC3810 then switches to the clock source with priority 3 (assuming that the clock source with priority 1 has not become active in the meantime.)
If the module providing the clock experiences a failure (for example, if the T1/E1 controller experiences a Loss-of-Signal or Loss-of-Frame), then the clock source will be switched.
To configure a hierarchy of clock sources for backup purposes, use the following commands beginning in global configuration mode:
| Step | Command | Purpose |
|---|---|---|
1 | router(config)# network-clock-select 1-4 [serial 0 | system | controller] | |
2 | Repeat step 1, specifying each clock source with a lower priority. | |
|
| If the clock source with the highest priority fails, the clock source with the next priority is used. You can configure four clock sources: one primary clock source and up to three backup clock sources. For example, if serial 0 is priority 1 and controller T1 0 is priority 2, when serial 0 goes down the system will switch to controller T1 0 as the clock source. |
3 | router(config)# network-clock-switch [switch-delay | never] [restore-delay | never] | |
4 | router(config)# controller {T1 | E1} {0|1}
| If one of the controllers will be used as a clock source in the hierarchy, enter controller configuration mode for the T1/E1 controller. |
5 | router(config-controller)# clock source line | Configure the controller to obtain the Cisco MC3810 clock source from an attached network device. |
6 | If the other controller will be used as a potential clock source in the hierarchy, repeat steps 4 and 5. | |
| Note To prevent clock source conflicts, make sure to configure both controllers to clock source line after configuring the network-clock-select commands. For more information about how clock source conflicts are resolved using this feature, see the "Clock Source Hierarchy Rules" section. | |
7 | router(config)# interface serial 0 | If serial interface 0 will be used as a potential clock source in the hierarchy, enter interface configuration mode for serial 0. |
8 | router(config-if)# clock rate line rate | Configure the network clock line rate on serial 0 acting in DTE mode. The rate must be a multiple of the value set with the network-clock base-rate command. |
When you configure a hierarchy of clock sources, each potential clock source must be preconfigured to a mode that enables the Cisco MC3810 to derive the clock from that source. For example, if a controller will be a potential clock source, the controller clock source must be configured to line. If the controller clock source is configured to internal, the controller cannot be configured as a potential backup clock source using the network-clock-select command.
In the normal configuration, configuring both controllers to clock source line causes clocking conflicts. However, when configuring a hierarchy of clock sources, because only one controller is used as the primary clock source at one time, the conflict is prevented.
The following rules apply to configuring the clock source hierarchy:
The following is a configuration example showing a hierarchy of clock sources:
network-clock-select 1 t1 0 network-clock-select 2 t1 1 network-clock-select 3 serial0 network-clock-select 4 system network-clock-switch 10 10 controller t1 0 clock source line controller t1 1 clock source line interface serial0 clock rate line 64000
In this configuration, controller T1 0 is the primary clock source, and the clock source is configured to line. Controller T1 1 is a backup clock source and although the clock source is configured to line, the system temporarily sets the clock source to the loop-timed state.
If the controller T1 0 clock source fails, the system switches to use controller T1 1 as the clock source. The clock source loop-timed "set state" on controller T1 1 is switched to the preconfigured line state.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Tue Feb 22 16:41:42 PST 2000
Copyright 1989 - 2000©Cisco Systems Inc.