5G Core Course  /  Course home  /  Module 10 — Advanced Trace Analysis: one session, end to end
3GPP Release 19
MODULE M10 · CAPSTONE · ~42 MIN · CINEMATIC + DIAGRAMS

Advanced Trace
Analysis.

The capstone. We open one continuous packet capture of one phone — from the instant it powers on to the instant it powers off — and read the whole story, end to end. Nine modules, one trace. Every message you learned to build now appears on the wire, and you can name each one: the concealed SUCI, the 5G-AKA dance, the clear-to-ciphertext line, CreateSMContext, the PDR/QER/URR, the Path Switch, the sealed CDR. This lesson turns nine chapters into one book — and turns you into someone who can read any 5G capture like a story they already know.

3 actsshaperegister · session · teardown
9→1modulesevery module, one trace
6habitsthe trace-reading discipline
~19messageseach named, each placed
EN·فاkaraoke subs
TS 24.501 · TS 23.502 V19.x · TS 29.502 · TS 29.244 · TS 33.501
▶ VIDEO · MODULE 10 · CAPSTONE · ~42 MIN

Reading one session, from first contact to teardown

The player screen is a live animation stage with real diagrams — the three-act trace shape scans left to right, call-flows light up lane by lane, NAS turns from clear to ciphertext, and every message is colour-coded to the module that gave it meaning, exactly as the narration reaches it. Karaoke subtitles in English, two subtitle modes, fullscreen.

Module 10 · 5G Core Masterclass · the capstone
Advanced Trace Analysis: nine modules, one trace
0:00 / 0:00
REFERENCE · THE MESSAGE CATALOGUE
The M10 message catalogue →
Every message the trace reads — Registration Request through the sealed CDR — its interface, what it carries, and the module that gave it meaning, clause-cited and searchable.
REFERENCE · THE M10 MESSAGE CATALOGUE

Every message in the trace

Each message the video reads — its interface, direction, purpose and clause, in trace order. Click any row to open its full IE breakdown. Filter to find any of them.

MessageInterfaceDirWhat it doesClause
TS 24.501 · TS 23.502 · TS 29.502 · TS 29.244 · TS 33.501 — message names verbatim
REFERENCE · THE END-TO-END TRACE · MESSAGE → MODULE

One session, from first contact to teardown

Everything the video reads on the wire, as a reference you can scan: the full message sequence in its three acts, what each message carries, which module gave it meaning, and the six habits of reading a real capture. Message names cited to TS 24.501, 23.502, 29.502, 29.244, 33.501.

The three acts of every trace

1 · Registration

  • RRC → NAS Registration Request (SUCI, Requested NSSAI).
  • AMF / slice selection (NSSF, UDM).
  • Authentication — 5G-AKA (AUSF, UDM).
  • NAS Security Mode Command → ciphering on.
  • Registration Accept (5G-GUTI, Allowed NSSAI).

2 · Session

  • PDU Session Establishment Request (SM NAS → SMF).
  • NRF discovery → CreateSMContext.
  • Policy (PCF) → QoS flows → charging (CHF).
  • N4/PFCP → PDR, QER, URR in the UPF.
  • N1N2MessageTransfer → user plane up. Mobility mid-session.

3 · Teardown

  • PDU Session Release → PFCP Session Deletion.
  • Final Charging Data Request → CDR sealed.
  • Session gone, phone still registered.
  • Deregistration Request → context discarded.
  • The capture falls silent.
The message sequence, in order (with module)
#MessageWhereModuleWhat it means
1RRC SetupUE ↔ gNBM1/M2the radio door opens; NAS will ride above it
2Registration RequestUE → AMFM2SUCI (M1/M6) + Requested NSSAI (M8)
3Nnssf_NSSelection / Nudm_SDMAMF ⇄ NSSF/UDMM8pick the slice and the serving AMF
4Nausf_UEAuthenticationAMF → AUSFM6/M7authentication begins, over HTTP/2
5Nudm_UEAuthentication_GetAUSF → UDMM6SIDF de-conceals SUCI → SUPI; vector made
6Authentication Request/ResponseAMF ↔ UEM6RAND/AUTN down, RES* up; XRES* matches
7NAS Security Mode Command/CompleteAMF ↔ UEM6ciphering on — NAS goes dark after this
8Registration Accept/CompleteAMF ↔ UEM25G-GUTI (M1) + Allowed NSSAI (M8)
9PDU Session Establishment RequestUE → (AMF) → SMFM3SM NAS in a container; DNN + S-NSSAI
10NRF discovery → CreateSMContextAMF ⇄ NRF → SMFM7find an SMF; POST sm-contexts → 201
11Npcf_SMPolicyControl_CreateSMF → PCFM5PCC rules → QoS flows (M4)
12Nchf_ConvergedCharging [Initial]SMF → CHFM5the CDR opens; first quota granted
13PFCP Session EstablishmentSMF → UPFM3/M4PDR + QER + URR installed
14N1N2MessageTransferSMF → AMF → UE/gNBM3N1 Accept + N2 → user plane up, end to end
15(user-plane data flows)UE ↔ UPF ↔ DNM4/5/6/8QoS-shaped, metered, ciphered, sliced
16Xn/N2 Handover + Path SwitchgNB · AMF · UPFM2/M6context + KgNB move; session holds
17PDU Session Release / PFCP DeletionUE · SMF · UPFM3rules removed; usage reported
18Nchf [Termination]SMF → CHFM5the CDR is sealed — the bill
19Deregistration RequestUE → AMFM2power off; security context discarded

The insight: registration and sessions are separate lives — the phone can sit registered and idle with no session, and open or close many sessions during one registration. The control plane is busy in bursts; in between, the user plane does the real work.

The six habits of reading a capture

Structure

  • 1 · Boundaries — cut the trace into its three acts first.
  • 2 · One identity — filter by one SUPI / GUTI / session ID.
  • 3 · Read the names — SBI operation names are sentences.

Diagnosis

  • 4 · Read the errors — ProblemDetails + NAS cause codes.
  • 5 · Correlate the planes — control set up a path; does data follow?
  • 6 · Which module? — the index that ties it all together.
Every message → its module — searchable

Filter by message, interface or module — REGISTRATION · SESSION · TEARDOWN · USER-PLANE.

Message / elementActInterfaceModuleMeaning
TS 24.501 · TS 23.502 V19.x · TS 29.502 · TS 29.244 · TS 33.501 — message names verbatim

The one sentence for the whole course: a 5G network is a set of functions, exchanging named messages over defined interfaces, to give a subscriber a secure, policed, measured, and mobile connection — and every one of those messages is one you can now read.

5G Core Course · Module 10 · the capstone
QUIZ · 10 QUESTIONS

Trace-reading mastery check

Questions and answers reshuffle every load. 70%+ to consider the capstone — and the course — complete.