Professional Documents
Culture Documents
LTE Attach
LTE Attach
LTE Attach
LTE Attach
İki Teknoloji 1
Overview
İki Teknoloji
Irfan Ali 2 2
LTE Network Architecture
Internet
HSS
P-GW
S6a
S5
S11 S-GW
Evolved Packet Core
(EPC)
MME Evolved Packet System
(EPS)
S1-U
S1-MME
IP_a ->
HSS Hi
P-GW IP_m
GTP C
S6a
P U S5
GTP C GT IP_pgw -> UDP_
IP_a ->
dst= TEID_k Hi
S-GW IP_sgw 2152 IP_m
S11 IP UDP GTP-U
header
MME
UDP_
IP_sgw -> IP_a ->
dst= TEID_x Hi
S1-MME IP_enb 2152 IP_m
S1-U
GTP U
S1AP
eNB eNB
SR B-0
SR B-1
SR
DR B-2
IP_a ->
Hi
B
IP_m
İki Teknoloji
Irfan Ali 5 5
(International Mobile Subscriber Identifier) IMSI - Structure
World 3 digits
MCC: Mobile Country Code
MCC
310 286
Country
404
01 02 03 Operator
Subscriber
Mehmet Alper Ayse Max 15 digits Identification Number
Uniquely identifies a subscriber
İki Teknoloji
Irfan Ali 6 6
Identities and Plumbing for LTE
IMSI IMSI IMSI
S1: (eNB1, 4)
GUTI GUTI S11: (SGW1, 44)
C-RNTI C-RNTI
S1-MME, SCTP
S1: (MME1, 14)
SRB-0
S1U EBID5: (SGW1,54)
14->4 HSS
Att Acpt
eNBCRNTI,
UE S1AP ID Initial MME UE S1AP ID
Att Acpt PDN Con
Attach RRC 4->14, Init UE Cntxt Cntxt
SRB-1 4 Attach Req (IMSI) 14->4Acpt(EBID5)
CRNTI SMC
PDN Con
Request(IMSI) ConnAcpt (EBID5:
PDN
64)
Conn Req
Setup SMC MME
PDN Conn Req Reconfig Acpt(EBID5) (ERAB5: (SGW1, 54) IPMME1
MME S11 TEID
SRB-2 (EBID5,DRBID5,LCID3)
C.S. Req (IMSI, MME
24->44,
S11 Mod Bearer
TEID,PGW,EBID5)
Req (EBID5:eNB1,64)
GTP C
C.S. Rsp (SGW S11 TEID,
C.S. Req(IMSI, SGW S5C C.S. Rsp (PGW S5C
TEID, EBID5:S5U TEID) EBID5: S1U TEID) TEID, EBID5:S5U TEID)
SGW S11 TEID
SGW S5C TEID PGW S5C TEID
GTPC
SGW S5U TEID
PGW S5U TEID
DRBID5
DRBID5 DRBID5 GTP-U, EBID5 GTP-U, EBID5
LCID3 LCID3
eNB S1U TEID SGW S1U TEID
S1U: (eNB1, 64)
S5U EBID5: (PGW1,34)
S5C: (PGW1, 34)
S5U EBID5: (SGW1,24)
S11: (MME1, 24) S5C: (SGW1, 24)
IMSI IMSI
0. UE has
PGW In
selected eNB
2. Random Access
Response(Temp CRNTI)
SRB0
3. RRC Connection
Request (Temp CRNTI)
RRC Setup
Procedure
4. RRC Connection Setup
(CRNTI)
SRB1
İki Teknoloji
Irfan Ali 8 8
UE Performs Attach – Part 2 of 4
HSS
UE eNB MME SGW
eNB selects PGW
MME
In
S1-MME
6. Initial UE Message
S6a
7. Auth Info Request
NAS Msg: Attach
IMSI, ..
Request, IMSI, ..
NAS Msg PDN
User
8. Auth Info Answer
Connect Req Kasme, AUTN, RAND,XRES Authentication
Procedure
9. DL NAS Xport
10. DL Info Xfer Authn Request
Authn Request: MME Compares
AUTN, RAND, RES with XRES.
If same, AKA
11. UL Info Transport successful
12. UL NAS Xport
Authn Response
Authn Response:
RES
İki Teknoloji
Irfan Ali 9 9 Key Agreement
Integrity Protected
AKA: Authentication and Info
UE Performs Attach – Part 3 of 4
HSS
UE eNB MME SGW
NAS Security GTP C
PGW In
19, Create Session GTP C
Request (IMSI, TEID, 20,. Create Session
PGW IP,…) Request (TEIDs, …)
IP address
of the UE is
routed to this
interface
İki Teknoloji
Irfan Ali 11 11
Architecture Concept 1: Access Stratum and Non-Access Stratum
Internet
HSS
P-GW
S-GW
MME
Non-Access
Stratum
(NAS)
eNB
eNB eNB
DR B
(RRC)
B
UE Access Stratum
İki Teknoloji
Irfan Ali 12 12
Architecture Concept 2: Mobility Management (MM)
• What is Mobility Management in LTE?
Ø It is concerned about the UE’s registration state at the NAS layer.
Ø There is an MM state-machine that runs in both the MME and UE. They key states
are:
• EMM-DEREGISTERED
• EMM-REGISTERED
Ø Examples of EMM Procedures
• Attach
• Authentication
• Security Mode Command
• GUTI reallocation
• Tracking Area Update
• Paging
• Service Request
• …
Ø For each UE there is a MM context. The MM context consists of UE’s security related
parameters (keys, counters)
İki Teknoloji
Irfan Ali 13 13 For details, please refer to section 5.1.3 in TS 24.301
Architecture Concept 2: Session Management (SM)
• What is Session Management in LTE?
Ø It is related to UE’s connectivity (EPS bearers) at the NAS layer.
• There is an ESM state-machine that runs in both the MME and UE for each EPS bearer.
They key states are:
• Bearer Context In-active
• Bearer Context Active
• For each UE there is a ESM context that includes context for all active bearers and
includes parameters applicable to the bearers (Bearer ID, QoS parameters,…).
İki Teknoloji
For details, please refer to section 6.1.3 in TS 24.301
Irfan Ali 14 14
Architecture Concept 2: Mobility Management (MM)
and Session Management (SM) Relation
• There are separate NAS messages for EMM and ESM.
• EMM Context and ESM context are stored separately in the MME.
• LTE has the concept of “Always ON” IP connectivity.
Ø The moment the UE attaches, a default bearer is setup for the UE to have
connectivity. For UE to be in EMM-REGISTERED state, the UE MUST have at
least one bearer context.
Ø If the last default bearer is removed, UE is moved to detached state. If the
last default bearer is removed, the UE automatically enters EMM-
DEREGISTERED state.
• ESM procedures can be performed only if an EMM context has been established
between the UE and the MME.
• Hence, there is coupling between EMM and ESM state in LTE.
İki Teknoloji
Irfan Ali 15 15
NAS EMM and ESM Message Formats
Non-secured NAS Messages Secured NAS Messages
Bits
Octets 8 7 6 5 4 3 2 1
1 Security Type Protocol Discriminator
0x0000 0x0111 (EMM) Bits
Octets 8 7 6 5 4 3 2 1
2 Message Type
1 Security Type Protocol Discriminator
3 0x0010 0x0111 (EMM)
2
Rest of EMM Message 3 Message Authentication
4 Code (MAC)
5
Integrity
6 Sequence Number (SN) Protected
Bits
Octets 8 7 6 5 4 3 2 1 7
Protocol Discriminator
1 EPS Bearer ID
0x0010 (ESM) EMM or ESM
2 Procedure Transaction ID NAS Message
3 Message Type
İki Teknoloji
Irfan Ali 16 16
Protocol Stacks: Control Plane between UE, eNB and MME
NAS NAS
RLC RLC IP IP
MAC MAC L2 L2
PHY PHY L1 L1
İki Teknoloji
Irfan Ali 17 17
The GTP-C and GTP-U Protocols
IP IP IP IP
L2 L2 L2 L2
L1 L1 L1 L1
UE S11 S5
eNB MME S-GW P-GW
Application Application
TCP/UDP TCP/UDP
IP IP IP
RLC RLC IP IP IP IP
MAC MAC L2 L2 L2 L2
PHY PHY L1 L1 L1 L1
S5
LTE Uu S1-U
UE eNB S-GW P-GW End Host
İki Teknoloji
Irfan Ali 18 18 GTP-C GPRS Tunneling Protocol Control
References
İki Teknoloji
Irfan Ali 19 19
Next Video
• Protocol Details
Ø GTP Primer
Ø S1-MME (S1AP) Primer
İki Teknoloji
Irfan Ali 20 20