X2AP (X2 — EN-DC with eNB) in 5G NR
The LTE X2 interface reused for EN-DC: SgNB addition and modification in NSA.
X2 is the interface LTE base stations already use to talk to each other — hand a call over, share load, coordinate interference. In Non-Standalone 5G it is reused, almost unchanged, so an LTE master eNB can bolt a 5G en-gNB onto a live connection as a secondary node. The UE keeps its control plane and its EPC anchor on 4G while gaining NR throughput on a second leg. The application protocol is X2AP, specified in TS 36.423, carried over SCTP.
Introduction
X2 is the LTE-era interface between two E-UTRAN nodes, and X2AP (TS 36.423) is the control protocol that runs on it over SCTP. It was built so neighbouring eNBs could coordinate directly — handovers, load, interference — instead of routing everything through the core. Its second life came with 5G: when 3GPP defined the first commercial 5G deployment, EN-DC (E-UTRA–NR Dual Connectivity), it reused X2 to let an LTE master node attach a 5G node as a secondary leg.
You meet X2 in two distinct settings. In pure LTE it carries inter-eNB handover and load/interference management between 4G cells. In NSA 5G it carries the SgNB life-cycle — addition, modification, status transfer and release — that bolts an NR carrier onto an existing LTE connection. The same association, the same transport, the same paired-ID addressing serve both roles; EN-DC simply adds a family of procedures on top.
It matters because NSA was, and in many networks still is, how 5G actually got switched on: an operator with a live 4G EPC could add NR throughput without first deploying a 5G Core. Understanding X2AP is understanding how that "5G-on-top-of-4G" attach works — where the anchor stays, where the security keys come from, and where the user plane is terminated.
On this page
Why X2 Comes Back for 5G
In plain words: imagine a house already wired for a landline. When you want to add fast broadband, you do not re-cable the whole street — you reuse the existing wiring and just plug a new modem into it. In NSA 5G the "existing wiring" is the LTE X2 interface and the 4G core; the "new modem" is the NR en-gNB added as a secondary node. The customer keeps the same phone number and connection (the LTE anchor) and simply gains a much faster data pipe on the side.
Concretely, EN-DC had a hard constraint: at the time it was standardised, most operators had a mature 4G EPC and no 5G Core at all. So the control anchor had to stay on LTE, the core had to remain the EPC, and 5G could only be added as extra radio. That is exactly the shape X2 was already built for — a direct, RAN-to-RAN interface that adds and manages a second node without the core arbitrating every step. Reusing X2 meant the transport (SCTP), the node-setup handshake, the UE-associated addressing pattern and the data-forwarding tunnels all existed already; EN-DC only had to drop in a new set of SgNB procedures. Inventing a fresh interface would have delayed 5G launch for no functional gain.
X2AP is the signalling protocol spoken between two E-UTRAN nodes over the X2 interface. In EN-DC the two peers are a Master eNB (the MeNB) and a Secondary NR node — an en-gNB acting as SgNB — connected over that same LTE X2.
NSA lets an operator launch 5G on top of an existing 4G EPC with no 5G Core deployed. The MeNB keeps the RRC connection and the S1-MME signalling; the SgNB adds a high-rate NR leg. Reusing X2 means the transport, node setup and mobility machinery already exist.
A one-time X2 SETUP REQUEST/RESPONSE forms the association. Per UE, the MeNB runs SgNB ADDITION REQUEST → ACKNOWLEDGE to add the NR leg, then SgNB MODIFICATION, SN STATUS TRANSFER and SgNB RELEASE to manage its life-cycle.
What X2AP Is (and Why It Comes Back for 5G)
X2AP is the control-plane application protocol between two E-UTRAN nodes. It was designed for a flat LTE RAN where neighbouring eNBs need to coordinate directly instead of routing everything through the core: hand a UE from one cell to the next, exchange load and interference information, and set up the peering that makes those exchanges possible. When 3GPP defined EN-DC (E-UTRA–NR Dual Connectivity) for the first wave of 5G, it did not invent a new inter-node interface — it extended X2AP, because the anchor was still LTE and the core was still the EPC.
Everything in X2AP falls into two buckets. Non-UE-associated procedures configure the peering itself — which cells each node serves, what load each is carrying — and are run once or occasionally. UE-associated procedures act on a single UE's context and carry a pair of identifiers so both ends bind messages to the same subscriber. The base X2 role uses both buckets for LTE-to-LTE work; EN-DC adds a family of UE-associated SgNB procedures on top of the very same association.
Anchor stays on LTE: in EN-DC the master node is always the LTE eNB. The UE never leaves RRC_CONNECTED on LTE; NR is added as a Secondary Cell Group. Contrast this with a native 5G deployment in SA vs NSA, where the anchor is the 5G Core.
The Base X2 Role: Handover and Load Management
Before any 5G existed, X2 already did two jobs, and both survive intact under NSA. Understanding them explains why X2 was the natural home for EN-DC.
Inter-eNB handover. When a UE moves between two eNBs that have an X2 association, the source hands the UE over directly rather than through the MME. The source sends HANDOVER REQUEST carrying the UE context and the target-cell information; the target admits the UE and replies with HANDOVER REQUEST ACKNOWLEDGE containing the prepared radio configuration. As the UE detaches, the source forwards buffered downlink data to the target over the user plane and passes uplink/downlink PDCP sequence-number state in SN STATUS TRANSFER. Once the UE arrives, the target triggers a Path Switch toward the MME/S-GW so the S1-U bearer is redirected, then the source context is cleared with UE CONTEXT RELEASE. This is the X2-based handover, distinct from the S1-based handover that routes through the core when no X2 exists.
Load and interference management. Neighbouring cells exchange RESOURCE STATUS REQUEST/RESPONSE/UPDATE to report radio and transport load, and LOAD INFORMATION to share interference-coordination indicators such as the Relative Narrowband Transmit Power (RNTP), High-Interference and Overload indicators used by ICIC. A MOBILITY SETTINGS CHANGE procedure lets two eNBs negotiate handover-trigger thresholds to balance load across a boundary. None of this touches the core — it is pure RAN-to-RAN coordination, which is exactly the design philosophy EN-DC inherits.
Reuse, not reinvention: the transport (SCTP), the setup handshake, the UE-associated signalling pattern and the data-forwarding tunnels were all built for LTE handover. EN-DC drops its new SgNB procedures straight into that proven frame.
X2 Setup, Configuration Update and Transport
Before any UE can be dual-connected, the two nodes exchange global, non-UE-associated configuration. The MeNB sends X2 SETUP REQUEST carrying its served-cell information — PCIs, PLMNs, frequencies, neighbour relations; the peer replies with X2 SETUP RESPONSE listing its own served cells. For an en-gNB the response describes served NR cells. From then on both sides know each other's cells and can address UE contexts.
Configuration drifts, so X2AP provides update procedures. ENB CONFIGURATION UPDATE (and its acknowledge) pushes changes to an eNB's served-cell list after setup; for the EN-DC case the EN-DC CONFIGURATION UPDATE procedure lets the eNB and en-gNB refresh EN-DC-specific served-cell and TNL (transport) information without tearing the association down. If a node loses state, the RESET procedure clears UE contexts on the association cleanly, and ERROR INDICATION reports protocol problems.
All of this rides on a single SCTP association between the nodes (see SCTP). SCTP gives X2AP ordered, reliable, multi-streamed delivery: one stream typically carries the non-UE-associated signalling and others carry per-UE procedures, so head-of-line blocking between UEs is avoided. The standardised SCTP destination port for X2AP is 36422, and its SCTP Payload Protocol Identifier (PPID) is 27; per TS 33.501 the transport is protected with IPsec. The control plane is X2-C; the user plane that forwards data between the nodes is X2-U, a set of GTP-U tunnels over UDP, whose endpoints are named by a transport address and a 32-bit TEID. Every UE-associated message after setup carries an MeNB UE X2AP ID and, once the secondary node has allocated one, an SgNB UE X2AP ID; that pair is how two nodes keep dozens of dual-connected UEs unambiguous over one association.
Bearer Options and NSA Deployment Options 3/3a/3x
Dual connectivity is really about where a bearer's user plane lives. TS 37.340 defines three bearer termination options, and the deployment falls into the classic Option 3 family — both views describe the same thing: which node anchors PDCP and where S1-U terminates. Start with the deployment options, all controlled over the same X2-C.
| Option | S1-U terminates at | PDCP anchor | X2-U role |
|---|---|---|---|
| 3 (MCG split bearer) | MeNB | MeNB (LTE) | MeNB forwards a share of PDCP PDUs to the en-gNB for the NR leg. |
| 3a (SCG bearer) | Independently at MeNB and en-gNB | Per bearer, at its own node | Little/none — the S-GW sends each bearer straight to its terminating node. |
| 3x (SCG split bearer) | en-gNB | en-gNB (NR) | en-gNB anchors PDCP and forwards a share back to the MeNB over X2-U. |
Option 3 keeps the EPC's view simple — the S-GW only ever talks to the MeNB, and the master splits traffic downward — but it loads the LTE backhaul with all the NR user data. Option 3a routes distinct bearers to distinct nodes but cannot split a single bearer across both radios. Option 3x became the workhorse: the en-gNB terminates S1-U and anchors PDCP, so the high-rate NR path avoids the LTE backhaul, yet a single bearer can still be split, with the en-gNB forwarding a portion to the MeNB over X2-U for the LTE radio. The choice is per E-RAB and is signalled during SgNB addition and modification.
Spec note: whatever the option, the EPC control plane stays on S1-MME at the MeNB. When a bearer's S1-U endpoint moves to the en-gNB (3a/3x), the master runs an EPC E-RAB Modification so the S-GW redirects downlink toward the new tunnel endpoint.
SgNB Addition — Adding the 5G Leg
This is the defining EN-DC procedure. The trigger is a measurement: the MeNB configures the UE with a B1 event (an inter-RAT neighbour becoming better than a threshold) pointed at the NR carrier. When the UE reports that a candidate NR cell is strong enough, the master decides to add it as a secondary node — this is the cross-link NSA attach, where an LTE-measured report reaches over to configure an NR leg.
MeNB → SgNB: SgNB ADDITION REQUEST. Key IEs:
| IE | Purpose |
|---|---|
MeNB UE X2AP ID | The master-side UE identity, so the en-gNB can bind its answer to this UE and reference it in every later message. |
UE Security Capabilities & SgNB Security Key (S-KgNB) | The NR security anchor: the master derives S-KgNB from KeNB using the SCG Counter and passes it so the en-gNB can protect the NR radio. |
E-RABs To Be Added List | Per E-RAB, the requested bearer option (MCG / SCG / split), the E-RAB Level QoS Parameters (QCI, ARP) and the S1/X2 GTP Tunnel Endpoint (address + TEID) for user-plane forwarding. |
MeNB to SgNB Container | Transparent RRC container carrying the UE's NR capabilities and the master's configuration, so the en-gNB can build the SCG configuration. |
SgNB → MeNB: SgNB ADDITION REQUEST ACKNOWLEDGE. The en-gNB runs admission control, reserves NR radio and transport, allocates an SgNB UE X2AP ID, and returns:
| IE | What it conveys |
|---|---|
E-RABs Admitted To Be Added List | Which E-RABs the en-gNB accepted, with the NR-side GTP Tunnel Endpoint the user plane will use. |
SgNB to MeNB Container | An RRCReconfiguration (the SCG configuration) built by the en-gNB, delivered transparently through the master to the UE — it configures the NR PSCell and SCG radio bearers. |
The MeNB embeds the SCG container inside an LTE RRCConnectionReconfiguration to the UE. The UE applies it, performs random access to the NR PSCell (the primary cell of the Secondary Cell Group), and confirms with RRCConnectionReconfigurationComplete. The master then sends SgNB RECONFIGURATION COMPLETE to the en-gNB, telling it the UE has successfully applied the SCG configuration and that the NR leg may go active. For SCG and split bearers the master finally runs an EPC E-RAB Modification so the S-GW steers downlink toward the correct endpoint. Data now flows over NR.
Security note: NR user-plane protection in EN-DC uses S-KgNB, derived by the master eNB from KeNB and the SCG Counter, then handed to the en-gNB in SgNB Security Key. It is refreshed whenever the counter is bumped (e.g. on key change), keeping the NR leg cryptographically independent of the LTE leg.
Bearer Types and X2-U Data Forwarding
Underneath those deployment options sit the three bearer types themselves — the PDCP anchor is what distinguishes them.
| Bearer type | PDCP terminates at | RLC/MAC path(s) | Typical use |
|---|---|---|---|
| MCG bearer | MeNB (LTE) | LTE MCG only | Legacy / low-rate data kept entirely on LTE. |
| SCG bearer | SgNB (NR) | NR SCG only | High-throughput data offloaded fully to NR; S-GW forwards straight to the en-gNB. |
| Split bearer | MeNB or SgNB (MCG-split / SCG-split) | Both LTE and NR RLC legs, one PDCP | One bearer whose PDCP PDUs are distributed across both radios for aggregate rate. |
A split bearer runs a single PDCP entity feeding two RLC legs, so PDUs sent down the LTE and NR radios must be reordered at the receiver on their PDCP SN — this is exactly where PDCP reordering matters (see Radio Bearers). The plumbing that carries one node's share of those PDUs to the other node is X2-U: GTP-U tunnels identified by the TEIDs exchanged during addition. In Option 3x the en-gNB is the anchor and forwards the LTE portion to the MeNB over X2-U; in a MeNB-anchored split it is the reverse. The bearer option chosen for each E-RAB is signalled in SgNB ADDITION REQUEST and can be changed later with SgNB MODIFICATION — for instance promoting an SCG bearer to a split bearer when the LTE leg has spare capacity.
X2-U also carries data forwarding at life-cycle boundaries. When a bearer's anchor moves, in-flight PDCP SDUs that were buffered on the old side are tunnelled to the new side so nothing is lost and nothing is duplicated, coordinated with the sequence-number state described next.
Modification, Reconfiguration Complete, Status Transfer and Release
SgNB MODIFICATION. Either node can trigger it. The master-initiated SgNB MODIFICATION REQUEST (answered by SgNB MODIFICATION REQUEST ACKNOWLEDGE) or the SgNB-initiated SgNB MODIFICATION REQUIRED (answered by SgNB MODIFICATION CONFIRM) adds, modifies or removes E-RABs on the NR leg, changes a bearer's type (e.g. SCG → split), updates the SCG radio configuration, or refreshes security. As with addition, an RRCReconfiguration container is carried transparently to the UE and confirmed back with SgNB RECONFIGURATION COMPLETE.
SN STATUS TRANSFER. Whenever a bearer's PDCP anchor moves between the eNB and the en-gNB — on release, or on a bearer-type change of an acknowledged-mode bearer — the losing side sends SN STATUS TRANSFER carrying, per bearer, the uplink and downlink PDCP SN and HFN receiver/transmitter state. The new anchor resumes sequence numbering from exactly where the old one stopped, so reordering and duplicate detection keep working across the move.
SgNB RELEASE. Tears the NR leg down. SgNB RELEASE REQUEST (master-initiated) or SgNB RELEASE REQUIRED (SgNB-initiated) frees the secondary context. Where user data was buffered on the released side, SN STATUS TRANSFER plus X2-U data forwarding preserve in-flight PDCP SDUs while the master reverts the affected bearers to LTE, or moves them to a different en-gNB. A change of secondary node (SgNB change) is effectively an addition to the new node combined with a release of the old, stitched together by the master so the UE sees a single reconfiguration.
ID pairing recap: every UE-associated message after addition carries both the MeNB UE X2AP ID and the SgNB UE X2AP ID. Addition is the only procedure where the SgNB UE X2AP ID is still absent in the first message — the acknowledge is what assigns it.
SgNB Addition — Message Sequence
The full addition exchange across UE, master eNB and secondary en-gNB is below. Note that the SCG RRCReconfiguration is built by the en-gNB but delivered to the UE inside an LTE RRC message by the master — the UE has only one RRC connection, and it is with the MeNB.
Summary
X2 is the LTE inter-node interface that got a second career as the backbone of NSA 5G. Keep the anchor rule front and centre: in EN-DC the master is always the LTE eNB, the UE stays RRC_CONNECTED on LTE with its S1-MME/EPC control plane, and NR is added only as a Secondary Cell Group over the same X2 association. The base X2 jobs — inter-eNB handover and load/interference management — still run; EN-DC layers the SgNB life-cycle on top.
The SgNB procedures are the ones to know: addition (triggered by a B1 measurement, carrying S-KgNB, the E-RAB list and the transparent SCG RRCReconfiguration the MeNB relays to the UE), modification (add/remove/retype E-RABs, refresh security), SN status transfer (hand over PDCP SN/HFN state when a PDCP anchor moves), and release. Cutting across all of them are two ideas: the paired MeNB UE X2AP ID / SgNB UE X2AP ID that keep UEs unambiguous, and the deployment options 3/3a/3x that decide where S1-U terminates and where PDCP is anchored — with 3x, the en-gNB-anchored split bearer, the practical workhorse. When you move to the 5G Core, the same shapes reappear on Xn; on the EPC you stay on X2.
X2 vs Xn, and Quick Q&A
The final thing to keep straight is which inter-node interface applies. X2/X2AP (TS 36.423) is the LTE interface, reused for EN-DC because the anchor is LTE and the core is the EPC. The NG-RAN world has its own interface, Xn (Xn-AP, TS 38.423), used between NG-RAN nodes connected to the 5G Core — that is where NR-NR Dual Connectivity and NGEN-DC live, and where the equivalent secondary-node procedures are named S-NODE ADDITION rather than SgNB ADDITION. Same idea, different interface, different core. If you are on the EPC, you are on X2; if you are on the 5GC, you are on Xn (see Xn Handover).
LTE ↔ NR: X2 (TS 36.423) and Xn (TS 38.423) are sister interfaces — the horizontal, node-to-node link — each splitting into a control plane over SCTP and a GTP-U data-forwarding user plane. X2 belongs to the EPC world: peers are eNB/en-gNB, the anchor is LTE, secondary-node procedures are the SgNB ADDITION/MODIFICATION/RELEASE family, and path switch runs to the MME over S1. Xn belongs to the 5GC world: peers are gNB/ng-eNB, secondary-node procedures are renamed S-NODE …, and path switch runs to the AMF over NG. Xn also adds RRC_INACTIVE support (RETRIEVE UE CONTEXT, RAN PAGING) that X2 never had. See XnAP.
⚠ Common pitfalls / gotchas
- Assuming NR terminates the RRC. In EN-DC the UE has exactly one RRC connection, on LTE. The SCG
RRCReconfigurationis built by the en-gNB but always delivered wrapped inside an LTERRCConnectionReconfiguration— the en-gNB never talks RRC to the UE directly. - Mixing up X2 and Xn. EN-DC on the EPC uses X2 with
SgNBprocedures; NR-DC/NGEN-DC on the 5GC use Xn withS-NODEprocedures. Reaching for the wrong interface (or the wrong TS) is the classic NSA-vs-SA slip. - Overloading the LTE backhaul. Deployment Option 3 routes all NR user data through the MeNB's PDCP, so the LTE backhaul carries the 5G payload. This is exactly why Option 3x (en-gNB-anchored) became the workhorse — picking 3 by default can throttle NR throughput.
- Forgetting SN Status Transfer on anchor moves. Changing a bearer's type or releasing the SgNB moves the PDCP anchor; without
SN STATUS TRANSFERthePDCP SN/HFNstate is lost and AM bearers drop or duplicate data. - Stale
S-KgNB. The NR key is derived fromKeNBand theSCG Counter; if the counter is not incremented on key change, the NR leg reuses key material — a security defect, not just a config nit.
Q. In EN-DC, which node is the master and why does it matter?
A. The LTE eNB is always the master (MeNB); the 5G en-gNB is the secondary (SgNB). The master owns the RRC connection and the S1-MME/EPC control plane, so the UE stays anchored on LTE while NR only adds a Secondary Cell Group. There is no 5G Core in NSA.
Q. What is the difference between Option 3, 3a and 3x?
A. They differ in where S1-U terminates and where PDCP is anchored. In Option 3 the MeNB terminates S1-U and anchors PDCP (MCG split). In 3a each bearer terminates independently at its own node (SCG bearer). In 3x the en-gNB terminates S1-U and anchors PDCP, forwarding the LTE share back over X2-U (SCG split) — the most common deployment.
Q. What triggers SgNB addition, and how does the SCG configuration reach the UE?
A. A B1 measurement event: the UE reports that a neighbour NR cell has crossed a threshold. The master sends SgNB ADDITION REQUEST; the en-gNB returns an RRCReconfiguration in the SgNB to MeNB Container, which the master wraps inside an LTE RRCConnectionReconfiguration to the UE. The master confirms with SgNB RECONFIGURATION COMPLETE.
Q. What are the MeNB/SgNB UE X2AP IDs for?
A. They are the per-UE handles on each side of the association. SgNB ADDITION REQUEST carries only the MeNB UE X2AP ID; the acknowledge allocates and returns the SgNB UE X2AP ID. From then on every UE-associated message carries both, keeping many dual-connected UEs unambiguous over one SCTP association.
Q. Where does the NR security key come from in EN-DC?
A. The master eNB derives S-KgNB from KeNB using the SCG Counter and sends it in the SgNB Security Key IE of SgNB ADDITION REQUEST. The en-gNB uses it to protect the NR radio bearers; it is refreshed whenever the counter is incremented.
Q. Why X2 and not Xn between the eNB and the gNB in NSA?
A. Because the anchor is LTE/EPC, so the interface is the LTE inter-node interface X2 (TS 36.423), reused for EN-DC. Xn (TS 38.423) is the NG-RAN interface between nodes connected to the 5G Core — NR-NR DC and NGEN-DC — the Standalone world.
Where to go next
Place EN-DC in the deployment landscape, then follow the same nodes into native 5G mobility over the sister interface, and see how the split-bearer PDCP actually carries data across two radios.