The process of 5G-4G internetworking involves interworking between the 5GS (5G System) and EPS (Evolved Packet System) to ensure the continuity of services provided to the UE (User Equipment) while moving between the 5GC (5G Core) network and the EPC (Evolved Packet Core) network.
The N26 interface between the MME (Mobility Management Entity) and the AMF (Access and Mobility Management Function) facilitates the interworking between the EPS and 5GS.
During the 5GS to EPS handover procedure, various steps are taken, such as sending Handover Required message from the NG-RAN (Next Generation Radio Access Network) to the AMF, SMContext_Retrieve message preparation, UPF (User Plane Function) selection, PFCP (Packet Forwarding Control Protocol) session modification, and sending Handover Command message to the UE.
The N26-based handover procedures enable handover of the UE between the EPS and 5GS, which includes scenarios like 5GS to EPS handover, EPS to 5GS handover, and handover cancellations.
The combined SMF (Session Management Function) and PGW-C (Packet Data Network Gateway – Control Plane) performs UPF selection based on local configuration and decides whether to remove the I-UPF (In-line UPF) or not.
The SMF also sends a PFCP Session Modification Request message to the combined UPF and PGW-U (Packet Data Network Gateway – User Plane) to establish the CN (Control Plane) tunnel for each EPS bearer.
5GS to EPS Handover Procedure
Steps taken into 5GS to EPS Handover Procedure:
- The NG-RAN sends a Handover Required message to AMF.
- AMF sends an Nsmf_PDUSession_RetrieveSMContext Request message to the combined SMF and PGW-C.
- SMF checks if the EBI of the QoS flow associated with the default QoS rule is included in the notToTransferEbiList IE. a. If it is, SMF sends a 403 Forbidden HTTP status code with DEFAULT_EBI_NOT_TRANSFERRED error to the AMF and deletes the corresponding PDU session. b. If not, SMF retains the EPS bearer context mapped to the QoS flow.
- Optionally, PCF can send a SMPolicyControl_UpdateNotify Request message to the combined SMF and PGW-C.
- The combined SMF and PGW-C performs UPF selection and sends a PFCP Session Modification Request message to the combined UPF and PGW-U.
- The combined UPF and PGW-U sends a PFCP Session Modification Response message.
- SMF sends an Nsmf_PDUSession_RetrieveSMContext Response message to AMF.
- AMF sends a Forward Relocation Request message to MME.
- MME sends Create Session Request messages to SGW-C.
- SGW-C sends Create Session Response messages to MME.
- MME sends Handover Request message to E-UTRAN.
- E-UTRAN sends Handover Request Acknowledge message to MME.
- MME sends Forward Relocation Response message to AMF.
- AMF sends Handover Command message to NG-RAN.
- NG-RAN sends Handover Command message to UE.
- UE sends Handover Confirm message to E-UTRAN.
- E-UTRAN sends Handover Notify message to MME.
- MME sends Relocation Complete Notification message to AMF.
- AMF sends Relocation Complete Acknowledge message to MME.
- MME sends Modify Bearer Request messages to SGW-C.
- SGW-C sends Modify Bearer Request messages to the combined SMF and PGW-C.
- SMF validates the Modify Bearer Request message.
- a. If validation fails, SMF rejects the request from SGW-C.
- b. If validation succeeds, SMF stops the T5to4ho timer.
- The combined UPF and PGW-U sends a PFCP Session Modification Response message to the combined SMF and PGW-C.
- The combined SMF and PGW-C sends an Nsmf_PDUSession_UpdateSMContext Request message to the AMF, which includes the ueEpsPdnConnection IE in the SmContextToBeUpdatedData data type.
- The AMF sends a Handover Command message to the NG-RAN.
- The NG-RAN sends the Handover Command message to the UE. After the UE has successfully synchronized to the target cell, the UE sends a Handover Confirm message to the E-UTRAN.
- The target E-UTRAN sends a Handover Notify message to the MME.
- The MME sends a Relocation Complete Notification message to the AMF.
- The AMF sends a Relocation Complete Acknowledge message to the MME.
- The AMF sends an Nsmf_PDUSession_UpdateSMContext Response message to the combined SMF and PGW-C.
- The combined SMF and PGW-C sends a PFCP Session Modification Request message to the combined UPF and PGW-U to modify the CN tunnel for each EPS bearer with mapped EBIs that are not included in the notToTransferEbiList IE.
- The combined UPF and PGW-U sends a PFCP Session Modification Response message to the combined SMF and PGW-C.
- The 5GS to EPS Handover procedure is now complete.
EPS to 5GS Handover Procedure
Steps taken into EPS to 5GS Handover Procedure:
- The E-UTRAN sends a Handover Required message to the MME.
- The MME sends a Forward Relocation Request message to the AMF, which includes the MME/SGSN/AMF UE EPS PDN Connections IE.
- The AMF sends an Nsmf_PDUSession_CreateSMContext Request message to the combined SMF and PGW-C, including the hoState and ueEpsPdnConnection IEs.
- The hoState IE is set to PREPARING.
- The combined SMF and PGW-C finds a corresponding PDU Session based on the EPS Bearer ID and PGW S8-C F-TEID IEs received in the ueEpsPdnConnection IE.
- The combined SMF and PGW-C sends a PFCP Session Modification Request message to the combined UPF and PGW-U to establish the uplink CN tunnel for the PDU Session for both default and dedicated QoS flows.
- The combined UPF and PGW-U sends a PFCP Session Modification Response message to the combined SMF and PGW-C to allocate the PGW-U uplink CN tunnel information.
- The combined SMF and PGW-C sends an Nsmf_PDUSession_CreateSMContext Response message to the AMF, which includes the following IEs:
- The hoState IE set to PREPARING
- The PDU Session ID IE
- The S-NSSAI IE
- The allocatedEbiList IE
- The PDU Session Resource Setup Request Transfer IE in the N2 SM Information container
- The combined SMF and PGW-C starts the configurable tn2ressetupreq timer to wait for receiving the N2 Handover Request Acknowledge Transfer IE in the Nsmf_PDUSession_UpdateSMContext Request message from the AMF.
- The combined SMF and PGW-C provides user plane security enforcement to the NG-RAN if user plane security is enabled.
- If the user plane security integrity is set to required, the allocatedEbiList IE is not included in the Nsmf_PDUSession_CreateSMContext Response message.
- The AMF sends a Handover Request message to the NG-RAN.
- The NG-RAN sends a Handover Request ACK message to the AMF.
- The AMF sends an Nsmf_PDUSession_UpdateSMContext Request message to the combined SMF and PGW-C, including the following:
- The hoState IE set to PREPARED
- The N2 SM informationcontainer received from the target 5G-AN
- Upon receiving the Nsmf_PDUSession_UpdateSMContext Request message with the hoState IE set to PREPARED, the combined SMF and PGW-C stops the tn2ressetupreq timer.
- The combined SMF and PGW-C sends an Nsmf_PDUSession_Update_SMContext Response message to the AMF, including the following:
- The hoState IE set to PREPARED
- The combined UPF and PGW-U sends a PFCP Session Modification Response message to the combined SMF and PGW-C to confirm the switching of the downlink CN tunnel and release of the CN tunnels for EPS bearers.
- The combined SMF and PGW-C sends an Nsmf_PDUSession_UpdateSMContext Response message to the AMF to confirm the completion of the PDU session handover, including the hoState IE set to COMPLETED.
- The AMF sends a Forward Relocation Complete Notification message to the MME.
- The MME sends a Forward Relocation Complete Notification ACK message to the AMF.
- The UE sends a Path Switch Request message to the NG-RAN to establish a 5GS data path.
- The NG-RAN sends a Path Switch Request Acknowledge message to the UE.
- The UE sends a Path Switch Request message to the AMF.
- The AMF sends a Path Switch Request Acknowledge message to the UE, including the N2 SM information container.
- The AMF sends a Path Switch Request message to the combined SMF and PGW-C, including the N2 SM information container.
- The combined SMF and PGW-C sends a Path Switch Request Acknowledge message to the AMF, including the N2 SM information container.
- The UE sends a Handover Complete message to the E-UTRAN.
- The E-UTRAN sends a Handover Complete message to the MME.
- The MME sends a Handover Complete message to the AMF.
- The AMF sends an Nsmf_PDUSession_DeleteSMContext Request message to the combined SMF and PGW-C to request the deletion of the PDU session.
- The combined SMF and PGW-C sends an Nsmf_PDUSession_DeleteSMContext Response message to the AMF to confirm the deletion of the PDU session.
- The UE is now fully connected to the 5GS network and can start accessing 5G services.
Hope this article was able to cover the 5G to 4G Interworking call flow in detail. if you want to know how 5GC is different than 4G EPC then read here.