Table of Contents 1. Introduction 2.1 Unknown UE 2.2 Known UE |
2. Cases of Initial Attach
When a UE initially attaches to a network, an MME initiates a different procedure depending on the type of such attach. The procedure begins when a user sends an Attach Request message to an MME, and ends when the MME returns an Attach Accept message to the UE. When the UE sends the MME the Attach Request (UE ID), it includes its UE ID (IMSI or Old GUTI3) in the message to identify itself. When the MME sends the Attach Accept (GUTI and TAI list) message, it includes a GUTI, an ID that the UE can use instead of IMSI, and a TAI list4 that contains the areas the UE is allowed to enter without TAU updates.
An MME may go through some or all of the following procedures after receiving an Attach Request message from a UE and before sending an Attach Accept message back to the UE (see Chapter III):
Decisions on which procedure to perform are made based on the types of initial attach attempted by a UE. But, both UE ID acquisition and EPS session establishment procedures are required in all types of initial attach. Other procedures like authentication, NAS security setup and location update are performed selectively depending on the type of initial attach. The procedure selection is affected by i) what UE ID the UE has (IMSI or Old GUTI), ii) whether or not the Last Attach Information is still kept valid in the network (MME), etc. In this document, we will use the following criteria to distinguish different types of initial attach, as seen in Figure 1:
Figure 1. Criteria for Classification of Initial Attach
In the document, UEs are defined as “unknown UEs” if their Last UE Context, including UE IDs, does not exist in the network (MME), and others are defined as “known UEs”. Section 2.1 describes initial attach by unknown UEs while Section 2.2 explains one by known UEs. Below, we will assume Attach Request messages are sent integrity-protected if the UE has the Last Attach Information.
2.1 Unknown UE
Figure 2 illustrates the cases of initial attach where a user (UE) sends an Attach Request message to a network, and the network (MME) does not have any valid UE context about the user (UE). We will distinguish the types of initial attach, and explain the characteristics of each type for comparison (EPS session establishment procedure is common, and thus will not be discussed here). An MME to which the UE is trying to attach now will be called “New MME” and the one the UE has attached to last time will be called “Old MME”.
Figure 2. Initial Attach Cases by Unknown UE
Attach Case 1: When a UE is attaching using an IMSI
This is when neither user (UE) nor network (MME) has the Last UE Context, as in EMM Case 1 to be explained in Part 2. A scenario required for this case is as follows:
Attach Case 2: When a UE is attaching to the MME that it has attached to last time (New MME = Old MME), but the MME doesn’t have the valid Last UE Context of the UE
This is when a UE, still having the Last Attach Information (Old GUTI and NAS security context6) even after its last detach, is trying to attach to the same MME, but the MME doesn’t have any valid UE context of the UE. An exemplary scenario can be as follows:
Attach Case 3: When a UE is attaching to a new MME that it has never attached to before (New MME ≠ Old MME), and the MME doesn’t have the valid Last UE Context of the UE
This is when a UE, still having the Last Attach Information even after its last detach, is attaching to a new MME (New MME), not to the Old MME, but the Old MME doesn’t have the valid UE context relating to the UE, either. An exemplary scenario can be as follows:
From here, things are the same as in Attach Case 2, and thus Steps 3), 4) and 5) in Attach Case 2 are performed. The New MME sends the UE an Identity Request message, requesting an IMSI. The UE then sends its IMSI to the MME through an Identity Response message. With the received IMSI, the MME performs procedures for authentication and NAS security setup, and has the UE’s location updated.
2.2 Known UE
Figure 3 shows a case of initial attach where a user (UE) attaches to a network by sending an Attach Request message, and the network (MME) has the valid UE context for the user. Unlike unknown UEs, all known UEs are assumed to use a GUTI, not IMSI, for their initial attach. In Figure 3, both the UE and the MME have the Last UE Context relating to the user, and the UE sends an Attach Request message with its integrity protected.
Figure 3. Initial Attach Cases by Known UE
Attach Case 4: When a UE is attaching to the MME that it has attached last time (New MME = Old MME), and the MME has the valid Last UE Context of the UE
This is when a UE, still having the Last Attach Information (Old GUTI, NAS security context), attaches to the MME that it has attached to last time, and the MME has the valid UE context for the UE. An exemplary scenario can be as follows:
Attach Case 5: When a UE is attaching to a new MME that it has not attached to before (New MME ≠ Old MME), and the Old MME has the valid Last UE Context of the UE
This is when a UE, still having the Last Attach Information, attaches to a new MME (New MME), and the Old MME has the valid UE context of the UE. An exemplary sceneario can be as follows:
If the integrity check fails, things are the same as in Attach Case 3, and hence the same procedures of IMSI acquisition, authentication and NAS security setup are performed as in Attach Case 3. If the check passes, the New MME receives the IMSI and MM context from the Old MME, and the procedures for authentication and NAS security setup may be skipped, as in Attach Case 4. The only difference from Attach Case 4 is that since the UE is attached to a new MME, the New MME communicates with the HSS to have the UE’s location updated.
I have been an xDSL/GPON/Ethernet/IP System Architect for the past 15 years and recently I started to work on LTE.
During one of my searches on detailed LTE information I came accross your site.
Looking at your papers and presentations, I must admit I never saw more detailled drawings than yours !
Congratulations for those who created them !
I wonder which software package are you using ?
I'm a regular Microsoft Visio user but IMO this package falls short for this kind of drawings ..
Thanks for having interest in our site.
Most of our diagrams were created using Microsoft Visio. And we didn't use any special SW package.
While providing professional consulting services in various technical fields over 10 years, we have created quite a lot of Visio templates ourselves.
Sincerely,
Netmanias.com
This is what I need to understand call flows. Finally I am in right place.
thanks you
Hi Netmanias,
Thanks for these excellent explanations. Recently I cleared an interview in which your tutorials played a major role. :)
Keep goind and enlighten the world with technology knowledge
Hi Netmanias,
Could you please provide your tutorials on LTE RACH & HARQ procedures ?
Nice to understand and very intresting
I think, the scene ii) the MME doesn’t have the valid Last UE Context of the UE can cover the scene iv) the UE was detached from other MME last time.
Thanks for this material.
Very helpful and easy to understand. Hope that you will upload some material about AS side.
Thanks Alot....
Nice and simple..Please share more documents on LTE..
Very informative... Thanks a lot netmanias.com. Keep it up!
Your material is great! A good introdution before one dive into 3gpp spec
Hello,
Do you maybe have call flow for the following case:
1.Subscriber is attached to 2-3G network.
2.Subscriber is not provisioned on HSS
3.Subscriber is using LTE capable phone.
Subscriber has active 2-3G PDP session. What is the scenario when UE attempts to handover to 4G in this case? Can Modify Bearer request from MME to SGW happen before successfull ULR/ULA (that obviously can not be successfull, as subscriber is not provisioned in HSS)?
Thank You!
In a very simple way the subject is explained nicely...
Very good documentation. Easy to understand and to the point.
Had a question- Figure 2 Attache case 3. If the NAS security setup is already done with OLD MME, when the UE attaches to the new MME, How can the new MME process these messages and contact the old MME ? Wont the integrity check fail as the integrity setup of the UE was with old MME and not the new MME ?
Very useful and easy to understand the flow end to end...Kudos to the team.
Thank U.
Man who is uploading this contain deservers a nobel ;-)
Thank you for breaking down the call flow into easy to understand steps supported with beautuful visuals
May Allah guide you to the ultimate truth.
Need IMS end to end call flow..
Dear Netmania Team,
If new MME sucessfully identified old MME , then how Old MME not able to provide UE identity to New MME. As per this scenario UE previously attached to Old MME and must have UE identifucation. Pls let me know what causes "Identification Response (error cause)"
*******************************************************************************
Attach Case 3: Unknown UE, MME Changed
The UE requests for initial attach using its Old GUTI. So, the MME (New MME) asks the Old MME for the Last UE Context relating to the UE, but fails to receive any. So, the MME requests the UE for a UE ID, and acquires an IMSI.
[UE → New MME] Attach Request (Old GUTI)
[New MME → Old MME] Identification Request (Old GUTI)
[Old MME] No IMSI
[New MME ← Old MME] Identification Response (error cause)
[UE ← New MME] Identity Request (UE ID = IMSI)
[UE → New MME] Identity Response (IMSI)
********************************************************************************
Great explanation Netmanias!!!!!!!!
Great explanation Netmanias