> 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-m2ua-peers.md).

# Creating M2UA Peers

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

After you create your M2UA links, you must define M2UA peers for your system.

To create an M2UA peer:

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

![Create M2ua 0](https://docs.telcobridges.com/w/images/8/88/Create_M2ua_0.png)

2- Select an M2UA SAP

![Select M2uaSap 0](https://docs.telcobridges.com/w/images/8/8e/Select_M2uaSap_0.png)

3- Select an M2UA Cluster

![Select M2uaCluster 0](https://docs.telcobridges.com/w/images/7/7b/Select_M2uaCluster_0.png)

4- Click **Create New M2ua Peer** in the M2UA cluster configuration window:

![Create M2UA Peer 0](https://docs.telcobridges.com/w/images/8/8d/Create_M2UA_Peer_0.png)

5- Configure the new M2UA peer:

* Enter a **name** for the peer
* Enter a **destination port** (as configured in the destination element)
* Indicate the number of outgoing **SCTP Streams**
* Click **Create**

![Create M2UA Peer 1](https://docs.telcobridges.com/w/images/b/bc/Create_M2UA_Peer_1.png)

6- Verify that the **"M2ua Peer was successfully created"** message appears

![Create M2UA Peer 2](https://docs.telcobridges.com/w/images/3/36/Create_M2UA_Peer_2.png)

7- Enter a destination address for the peer:

* Enter a **destination address**
* Click the **"<<"** button to add it to the list of destination addresses
* Verify that the ***(your address)*****&#x20;was successfully added** message appears

![Create M2UA Peer 3](https://docs.telcobridges.com/w/images/7/79/Create_M2UA_Peer_3.png)

**Path**

```
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/m2ua_stacks/@[m2ua_stack]/m2ua_saps/@[m2ua_sap]/m2ua_clusters/@[m2ua_cluster]/m2ua_peers/@[m2ua_peer]
```

**Parameters (text)**

```
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/m2ua_stacks/@[m2ua_stack]/m2ua_saps/@[m2ua_sap]/m2ua_clusters/@[m2ua_cluster]/m2ua_peers/@[m2ua_peer]
dst_port           = @[port_number]
ip_dsts            = [ "@[address_number]" ]
ip_header_tos      = 0
name               = "@[m2ua_peer]"
nb_of_sctp_streams = 32
self_asp_id        = 0

/configurations/@[configuration_name]/hardware_units/@[hardware_name]/m2ua_stacks/@[m2ua_stack]/m2ua_saps/@[m2ua_sap]/m2ua_clusters/@[m2ua_cluster]/m2ua_peers/@[m2ua_peer]/state
target_peer_state = "Asp-Active"
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/m2ua_stacks/@[m2ua_stack]/m2ua_saps/@[m2ua_sap]/m2ua_clusters/@[m2ua_cluster]/m2ua_peers/@[m2ua_peer]/state/advanced_parameters
```

**Parameters (json)**

```
{
  "dst_port" : @[port_number],
  "ip_dsts" : [
    "@[address_number]"
  ],
  "ip_header_tos" : 0,
  "name" : "@[m2ua_peer]",
  "nb_of_sctp_streams" : 32,
  "self_asp_id" : 0,
  "state" : {
    "target_peer_state" : "Asp-Active",
    "advanced_parameters" : {
    }
  }
}
```

### List of Parameters

* [Name](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/name/README.md)
* [Destination Port](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/destination-port/README.md)
* [Destination Address](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/destination-address/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-m2ua-peers.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.
