New live batch5G Core & 5G CNF Deployment - weekend live batchStarts Sun 6 Dec 2026IMS, VoLTE and VoNREnrol now →
5G Core, IMS and 4G LTE Training For Telecom Engineers+916306686763trainings@solexnetworksolutions.inWhatsApp

Insights / 5G Core

5G Core

Reading a 5G PDU Session Establishment Trace Step by Step

The messages of a 5G PDU session establishment in the order you see them, the fields that matter, the 5GSM causes, and a fast method for finding the failing step.

Browse all articles
Reading a 5G PDU Session Establishment Trace Step by Step

PDU session establishment is the procedure engineers are asked to debug most often and taught least well. This Solex Network Solutions guide gives you the sequence, what to look at in each step, and a method for finding the failing step quickly. For the full context of registration first, see our 5G registration and PDU session call flow.

5G PDU session establishment

1. The UE asks

The UE sends a PDU Session Establishment Request inside an UL NAS Transport message. The interesting fields are the PDU session ID, the requested S-NSSAI, the DNN and the PDU session type (IPv4, IPv6, IPv4v6, Ethernet). If the DNN is wrong, everything after this point is wasted effort, so check it first.

2. The AMF picks an SMF

The AMF queries the NRF (or lets the SCP do it) for an SMF that serves that slice and DNN. This is where a missing or mismatched S-NSSAI shows up as a discovery failure rather than a session failure - a distinction worth making early, because they have completely different fixes. A discovery response with no instances means the SMF never registered that S-NSSAI/DNN in its NF profile.

3. Nsmf_PDUSession_CreateSMContext

The AMF calls the chosen SMF (POST /nsmf-pdusession/v1/sm-contexts). If you get a 4xx back here, read the ProblemDetails JSON body before you read anything else. The "cause" field usually tells you exactly what the SMF disliked - for example DNN_NOT_SUPPORTED, SUBSCRIPTION_DENIED or INSUFFICIENT_RESOURCES_SLICE.

4. The SMF fetches subscription data

Nudm_SDM_Get pulls the session management subscription data (sm-data) for the SUPI, S-NSSAI and DNN. Wrong or missing subscription data at this point produces a session reject that looks, from the UE side, identical to a radio problem.

5. Session policy from the PCF

The SMF creates an SM policy association (Npcf_SMPolicyControl_Create). The PCF returns the session rules: default 5QI, ARP and session AMBR, plus any PCC rules. A PCF that is unreachable or rejects the request often causes the SMF to fall back to local policy - so a session can succeed with the wrong QoS, which is harder to spot than a failure.

6. N4 session establishment

The SMF picks a UPF and sends a PFCP Session Establishment Request. This carries the PDRs, FARs, QERs and URRs - the rules that describe what the UPF does to every packet. If the UPF rejects it, the cause value in the response is specific and useful (for example "Mandatory IE missing" or "No resources available"). Check that the UPF's N4 association with the SMF is up before anything else - PFCP Association Setup must have succeeded.

7. N2 resource setup

The SMF returns the N1 and N2 SM information to the AMF (Namf_Communication_N1N2MessageTransfer), which sends it to the gNB in an NGAP PDU Session Resource Setup Request. The gNB sets up the radio bearer, delivers the NAS PDU Session Establishment Accept, and returns its own tunnel endpoint in the Setup Response.

8. N4 modification

The SMF now knows the downlink tunnel endpoint at the gNB, so it modifies the N4 session to point the FAR at it. Miss this and you get a session that looks established but carries no downlink traffic - a classic and very confusing symptom.

The 5GSM causes you will see

#26  Insufficient resources
#27  Missing or unknown DNN
#28  Unknown PDU session type
#29  User authentication or authorization failed (secondary auth)
#33  Requested service option not subscribed
#54  PDU session does not exist
#67  Insufficient resources for specific slice and DNN
#69  Insufficient resources for specific slice
#70  Missing or unknown DNN in a slice

What changed in recent releases

  • Network slice admission control (NSAC, Release 17) - the NSACF limits the number of UEs and PDU sessions per slice. A PDU session can now be rejected because the slice is full, with cause #69 and a back-off timer.
  • Indirect communication through the SCP - the "AMF picks an SMF" step may happen in the SCP rather than the AMF; check the SCP logs when discovery looks fine but requests go to the wrong place.
  • Redundant PDU sessions and URLLC (Release 16) - two sessions over different paths for the same application.

The debugging shortcut

When a session fails, work out which of these eight steps was the last one to complete. That alone narrows the fault to one interface and usually one configuration item. It is a faster method than reading the whole capture front to back.

PDU session traces from our own 5G core are analysed step by step in the Solex Network Solutions 5G Core (SA) course.

Written by

Solex Network Solutions

Solex Network Solutions provides 5G Core, IMS VoLTE/VoNR, 4G LTE and private 5G training in India, along with core network products for labs, R&D teams and enterprises.

Learn this hands-on

5G Core (SA) - Architecture, SBI and Call Flows

The service-based 5G core end to end: AMF, SMF, UPF, NRF, AUSF, UDM and PCF, the HTTP/2 interfaces that join them, and every procedure from registration to session release.

View course Ask a question

Related articles

Discussion

No comments yet. Start the discussion - questions are welcome.

Leave a comment