> 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/creating-mtp2-links.md).

# Creating MTP2 Links

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

Once you have created an MTP2 configuration, you must create the necessary MTP2 links. An MTP2 link is used to connect the MTP2 physical layer to a line service carrying SS7 signaling.

To create an MTP2 link:

1- Click **MTP2** in the navigation panel.

![Mtp2 0 A](https://docs.telcobridges.com/w/images/7/79/Mtp2_0_A.png)

2- Click **Create New MTP2 Link** in the MTP2 configuration window

![Create MTP2 Link 0](https://docs.telcobridges.com/w/images/0/01/Create_MTP2_Link_0.png)

3- Configure the new MTP2 link:

* Enter a **name** for the new link
* Select a **connection mode**
* Select a **line service**
* Assign **timeslot(s)** to the link
* Select a **protocol type**
* Select a [**DPC**](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/signalling/dpc/README.md) **length**
* Select a **timeslot rate**
* Select the type of **Error Correction** to use.
* Click **Create**

![Create MTP2 Link 2.8 2.9](https://docs.telcobridges.com/w/images/d/df/Create_MTP2_Link_2.8_2.9.jpg)

4- Verify that the **"MTP2 link was successfully created"** message appears

![Create MTP2 Link 2](https://docs.telcobridges.com/w/images/d/d8/Create_MTP2_Link_2.png)

**Path**

```
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/mtp2_stacks/@[mtp2_name]/mtp2_links/@[mtp2_link]
```

**Parameters (text)**

```
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/mtp2_stacks/@[mtp2_name]/mtp2_links/@[mtp2_link]
connection_mode     = "Normal"
line_service        = "@[line_service_name]"
name                = "@[mtp2_link]"
protocol_type       = "ITU92"
ss7_dpc_length      = "14bits format=3.8.3"
timeslot_mask       = 0x1
timeslot_rate       = "64Kbps"

/configurations/@[configuration_name]/hardware_units/@[hardware_name]/mtp2_stacks/@[mtp2_name]/mtp2_links/@[mtp2_link]/advanced_parameters
alig_err_rate_emerg_thres     = 2
discard_frame_in_cong         = false
flow_ctrl_end_msu_threshold   = 32
flow_ctrl_start_msu_threshold = 64
max_alig_attempt              = 5
max_frame_length              = 273
max_outstanding_frames        = 8
prov_emerg                    = "500 milliseconds"
sig_unit_err_rate_thres       = 2

/configurations/@[configuration_name]/hardware_units/@[hardware_name]/mtp2_stacks/@[mtp2_name]/mtp2_links/@[mtp2_link]/itu_ansi_link
alig_err_rate_normal_thres = 3
error_correction           = "Normal"
lssu_lenght                = 1
prov_normal                = "8200 milliseconds"
retransmit_queue_max_bytes = 4096
retransmit_queue_max_msus  = 127

/configurations/@[configuration_name]/hardware_units/@[hardware_name]/mtp2_stacks/@[mtp2_name]/mtp2_links/@[mtp2_link]/state
datalink_state = "Enabled"

/configurations/@[configuration_name]/hardware_units/@[hardware_name]/mtp2_stacks/@[mtp2_name]/mtp2_links/@[mtp2_link]/timers
t1_timer = "40 seconds"
t2_timer = "5 seconds"
t3_timer = "1500 milliseconds"
t5_timer = "100 milliseconds"
t6_timer = "3 seconds"
t7_timer = "1 second"
```

**Parameters (json)**

```
{
  "advanced_parameters" : {
    "alig_err_rate_emerg_thres" : 2,
    "discard_frame_in_cong" : false,
    "flow_ctrl_end_msu_threshold" : 32,
    "flow_ctrl_start_msu_threshold" : 64,
    "max_alig_attempt" : 5,
    "max_frame_length" : 273,
    "max_outstanding_frames" : 8,
    "prov_emerg" : "500 milliseconds",
    "sig_unit_err_rate_thres" : 2
  },
  "connection_mode" : "Normal",
  "itu_ansi_link" : {
    "alig_err_rate_normal_thres" : 3,
    "error_correction" : "Normal",
    "lssu_lenght" : 1,
    "prov_normal" : "8200 milliseconds",
    "retransmit_queue_max_bytes" : 4096,
    "retransmit_queue_max_msus" : 127
  },
  "line_service" : "@[line_service_name]",
  "name" : "@[mtp2_link]",
  "protocol_type" : "ITU92",
  "ss7_dpc_length" : "14bits format=3.8.3",
  "state" : {
    "datalink_state" : "Enabled"
  },
  "timers" : {
    "t1_timer" : "40 seconds",
    "t2_timer" : "5 seconds",
    "t3_timer" : "1500 milliseconds",
    "t5_timer" : "100 milliseconds",
    "t6_timer" : "3 seconds",
    "t7_timer" : "1 second"
  },
  "timeslot_mask" : 1,
  "timeslot_rate" : "64Kbps"
}
```

### List of Parameters

* [Name](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/name/README.md)
* [Connection Mode](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/connection-mode/README.md)
* [Line Service](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/line-service/README.md)
* [Timeslots](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/timeslots/README.md)
* [Protocol Type](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/protocol-type/README.md)
* [DPC Length](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/dpc-length/README.md)
* [Timeslot Rate](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/timeslot-rate/README.md)
* [Error Correction](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/error-correction/README.md)

**Live States**

* [Datalink state](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/datalink-state/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/creating-mtp2-links.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.
