> 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/adding-m2pa-links.md).

# Adding M2PA Links

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

After you create an M2PA service access point (SAP), you must create a new M2PA link. This is done from the M2PA SAP configuration window.

To create an M2PA link:

1- Click **M2PA** in the navigation panel:

![CreateM2pa 0](https://docs.telcobridges.com/w/images/b/b3/CreateM2pa_0.png)

2- Select an M2PA SAP:

![SelectM2paLink 0](https://docs.telcobridges.com/w/images/0/09/SelectM2paLink_0.png)

3- Click **Create new M2pa link** in the M2PA SAP configuration window:

![Create M2PA Link 0](https://docs.telcobridges.com/w/images/2/2b/Create_M2PA_Link_0.png)

4- Configure the new link:

* Enter a **name** for the link
* Select a **protocol type**:
  * [ITU](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/misc/itu/README.md)
  * [ANSI](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/misc/ansi/README.md)
  * [TTC](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/misc/ttc/README.md)
* Set other features, as needed:
  * **Destination port** (same value as the one configured on the destination side)
  * Number of **SCTP Streams**
* Click **Create**

![Create M2PA Link 1](https://docs.telcobridges.com/w/images/2/28/Create_M2PA_Link_1.png)

5- Enter a **destination address** in the appropriate box in the information panel:

* Click the **"<<"** button to add the destination address to the address list

![Create M2PA Link 2](https://docs.telcobridges.com/w/images/9/92/Create_M2PA_Link_2.png)

6- Verify that the address has been added to the list, and that the **"*****(your address)*****&#x20;was successfully added"** message appears (ex.: here the address is 190.0.0.0)

![Create M2PA Link 3](https://docs.telcobridges.com/w/images/2/27/Create_M2PA_Link_3.png)

**Path**

```
/configurations/ @[configuration_name]/hardware_units/@[hardware_name]/m2pa_stacks@[m2pa_name]/m2pa_saps/@[m2pa_sap]/m2pa_links/@[m2pa_link]
```

**Parameters (text)**

```
/configurations/ @[configuration_name]/hardware_units/@[hardware_name]/m2pa_stacks@[m2pa_name]/m2pa_saps/@[m2pa_sap]/m2pa_links/@[m2pa_link]
dst_port            = 3565
ip_dsts             = [  ]
name                = "@[m2pa_link]"
nb_of_sctp_streams  = 10
protocol_type       = "ITU"

/configurations/ @[configuration_name]/hardware_units/@[hardware_name]/m2pa_stacks/@[m2pa_name]/m2pa_saps/@[m2pa_sap]/m2pa_links/@[m2pa_link]/advanced_parameters
flow_ctrl_end_msu_threshold   = 512
flow_ctrl_start_msu_threshold = 1024
ip_header_tos                 = 0
lssu_length                   = 1
prov_emrgcy                   = "500 milliseconds"
prov_interval                 = "1 second"
prov_normal                   = "7 seconds"

/configurations/ @[configuration_name]/hardware_units/@[hardware_name]/m2pa_stacks/@[m2pa_name]/m2pa_saps/@[m2pa_sap]/m2pa_links/@[m2pa_link]/state
link_disabled     = false
local_proc_outage = false

/configurations/ @[configuration_name]/hardware_units/@[hardware_name]/m2pa_stacks/@[m2pa_name]/m2pa_saps/@[m2pa_sap]/m2pa_links/@[m2pa_link]/timers
t1_timer = "45 seconds"
t2_timer = "30 seconds"
t3_timer = "2 seconds"
t6_timer = "4 seconds"
t7_timer = "3 seconds"
```

**Parameters (json)**

```
{
  "advanced_parameters" : {
    "flow_ctrl_end_msu_threshold" : 512,
    "flow_ctrl_start_msu_threshold" : 1024,
    "ip_header_tos" : 0,
    "lssu_length" : 1,
    "prov_emrgcy" : "500 milliseconds",
    "prov_interval" : "1 second",
    "prov_normal" : "7 seconds"
  },
  "dst_port" : 3565,
  "ip_dsts" : [
  ],
  "name" : "m2pa_link",
  "nb_of_sctp_streams" : 10,
  "protocol_type" : "ITU",
  "state" : {
    "link_disabled" : false,
    "local_proc_outage" : false
  },
  "timers" : {
    "t1_timer" : "45 seconds",
    "t2_timer" : "30 seconds",
    "t3_timer" : "2 seconds",
    "t6_timer" : "4 seconds",
    "t7_timer" : "3 seconds"
  }
}
```

### List of Parameters

* [Name](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/name/README.md)
* [Protocol Type](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/protocol-type/README.md)
* [Number of SCTP Streams](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/number-of-sctp-streams/README.md)
* [IP Header TOS](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/packet-network-type-of-service/README.md)
* [Destination Port](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/destination-port/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/adding-m2pa-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.
