> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/configuration/defining-a-clocking-source.md).

# Defining a Clocking Source

> **Applies to:** Tmedia 3.0, 3.2, 3.3

A network clock is a necessary component of a TDM network. Synchronizing your system to a clock will ensure that a good condition of your system is maintained. It is recommended that you configure an external [clocking](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/transmission/hardware-clocking/README.md) source for your system.

To configure a clock:

1- Click **Clocking** in the navigation panel

![CreateSystemClock 0](https://docs.telcobridges.com/w/images/9/95/CreateSystemClock_0.png)

2- Click **Create New External System Clock Reference**

![CreateSystemClock 1](https://docs.telcobridges.com/w/images/3/3d/CreateSystemClock_1.png)

3- Create the new clocking source:

* Enter a name for the clock.
* Select the appropriate hardware **adapter**
* Select a **clock reference type**
* Select a **clock reference source**

**Note:** In this example, **Line Service** is selected as the reference type, and a line service is selected as the clocking source.

![CreateSystemClock 3](https://docs.telcobridges.com/w/images/9/94/CreateSystemClock_3.png)

4- Verify that the **System Clock was successfully created** message appears, and that the new clocking source appears in the **External System Clock Reference List**

![CreateSystemClock 2](https://docs.telcobridges.com/w/images/3/3c/CreateSystemClock_2.png)

**Path**

```
/configurations/@[configuration_name]/clocks/configuration
```

**Parameters (text)**

```
/configurations/ @[configuration_name]/clocks/configuration
synchronous_tms_network = true

/configurations/ @[configuration_name]/clocks/configuration/clock_and_link_recovery
use_clock_ref_recovery       = false
use_link_switchover_recovery = false

/configurations/ @[configuration_name]/clocks/configuration/qualify_parameters
qualify_delay                 = "30 seconds"
qualify_recovery_delay        = "3 minutes"
trunk_cvc_anomalies_qualify   = 0
trunk_cvc_anomalies_unqualify = 1
trunk_fec_anomalies_qualify   = 0
trunk_fec_anomalies_unqualify = 1
trunk_los_defects_qualify     = 0
trunk_los_defects_unqualify   = 1
trunk_oof_defects_qualify     = 0
trunk_oof_defects_unqualify   = 1

/configurations/ @[configuration_name]/clocks/configuration/external_clocks/@[clock_name]
clock_ref_source = "@[line_service_name]"
clock_ref_type   = "Line service"
hardware_unit    = "@[hardware_name]"
name             = "@[clock_name]"
priority         = 1
```

**Parameters (json)**

```
{
  "clock_and_link_recovery" : {
    "use_clock_ref_recovery" : false,
    "use_link_switchover_recovery" : false
  },
  "qualify_parameters" : {
    "qualify_delay" : "30 seconds",
    "qualify_recovery_delay" : "3 minutes",
    "trunk_cvc_anomalies_qualify" : 0,
    "trunk_cvc_anomalies_unqualify" : 1,
    "trunk_fec_anomalies_qualify" : 0,
    "trunk_fec_anomalies_unqualify" : 1,
    "trunk_los_defects_qualify" : 0,
    "trunk_los_defects_unqualify" : 1,
    "trunk_oof_defects_qualify" : 0,
    "trunk_oof_defects_unqualify" : 1
  },
  "synchronous_tms_network" : true,
  "external_clocks" : {
  }

  "clock_ref_source" : "@[line_service_name]",
  "clock_ref_type" : "Line service",
  "hardware_unit" : "@[hardware_name]",
  "name" : "@[clock_name]",
  "priority" : 1

}
```

### List of Parameters

* [Name](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/name/README.md)
* [Unit](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/adapter/README.md)
* [Clock Reference Type](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/clock-reference-type/README.md)
* [Clock Reference Source](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/clock-reference-source/README.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/configuration/defining-a-clocking-source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
