Description
Message Transfer Part layer 2 (MTP2) is the second layer of the SS7 signaling protocol stack, corresponding to the Data Link Layer (Layer 2) of the OSI model. It operates on top of the physical connection provided by MTP1 and beneath the network layer MTP3. MTP2's core responsibility is to ensure the reliable, in-sequence, and error-free transfer of Signaling Units (SUs) across a single signaling data link between two adjacent signaling points. It transforms the raw bitstream from MTP1 into a structured, framed protocol with robust error control mechanisms.
MTP2 works by encapsulating higher-layer signaling messages into variable-length frames called Signal Units. There are three types: Fill-In Signal Units (FISU) for link idle state, Link Status Signal Units (LSSU) for conveying link status (e.g., out of alignment, normal), and Message Signal Units (MSU) which carry the actual payload from MTP3 or a User Part. Each SU contains a set of fields: Flag (delimiter), Backward and Forward Sequence Numbers (BSN, FSN) for sequencing and acknowledgment, a Length Indicator, a Checksum for error detection (using CRC), and control fields. The protocol uses a sliding window mechanism for flow control and employs positive acknowledgment with retransmission for error recovery. If an error is detected via the CRC, the frame is discarded and retransmitted.
Key components of MTP2 include the transmitter, which segments messages into SUs and manages the send sequence number and retransmission buffer, and the receiver, which checks CRC, acknowledges correctly received SUs, and reassembles the sequence. It also performs initial alignment procedures to bring a link into service and continuous monitoring to detect link failures. In the network architecture, MTP2 provides a virtually error-free link to MTP3. Its performance directly impacts signaling delay and link utilization. Within 3GPP systems, MTP2 is essential for the operation of traditional TDM-based SS7 links interconnecting core network nodes like MSCs, SGSNs, and HLRs for mobility management and call-related signaling, before the migration to IP-based transport using SIGTRAN's M2UA or M2PA adaptations.
Purpose & Motivation
MTP2 was created to solve the problem of unreliable physical transmission for critical signaling messages. While MTP1 provides a physical connection, it offers no protection against bit errors, loss, or duplication. Signaling information for call control and subscriber services is too vital to be corrupted. MTP2's purpose is to add a layer of reliability to the raw link, ensuring that every message delivered to the network layer (MTP3) is intact and in the correct order.
Historically, it addressed the limitations of earlier signaling systems which lacked robust link-layer protocols, leading to higher call failure rates. By implementing error detection via CRC-16 checksum, automatic retransmission of corrupted frames, and sequence numbering, MTP2 guarantees data integrity over a single hop. It also introduced flow control to prevent a fast transmitter from overwhelming a slow receiver, a crucial feature for maintaining stability in networks with nodes of varying processing capacities.
In the context of 3GPP mobile networks, MTP2's purpose was to enable the reliable transport of MAP, CAP, and BSSAP protocols over the globally deployed SS7 infrastructure. It formed the dependable 'pipe' over which roaming agreements, SMS delivery, and call handovers were executed. Its design for 64 kbit/s TDM links was optimal for the era but later became a motivation for developing SIGTRAN, as MTP2's complex stateful procedures were less efficient over packet-switched IP networks compared to simpler protocols like SCTP.
Key Features
- Provides error detection using a 16-bit Cyclic Redundancy Check (CRC)
- Implements error correction via Go-Back-N automatic repeat request (ARQ)
- Manages sequence numbering and acknowledgment for in-order delivery
- Performs signaling link initialization, alignment, and error monitoring
- Executes flow control using a sliding window mechanism
- Generates and processes Fill-In and Link Status Signal Units for link maintenance
Evolution Across Releases
MTP2 was incorporated into 3GPP specifications from the foundational GSM phase 2+ (R99) to provide reliable data link services for the SS7-based core network. The initial architecture involved its use over standard 64 kbit/s timeslots for all circuit-switched signaling interfaces, supporting the reliable transfer of MAP and CAP protocols essential for GSM and initial UMTS services.
Defining Specifications
| Specification | Title |
|---|---|
| TS 23.060 | 3GPP TS 23.060 |
| TS 23.205 | 3GPP TS 23.205 |
| TS 29.202 | 3GPP TS 29.202 |
| TS 43.318 | 3GPP TR 43.318 |
| TS 43.902 | 3GPP TR 43.902 |
| TS 44.318 | 3GPP TR 44.318 |