PDU Session Modification / Release¶
Learning objectives¶
After reading this page, you will be able to:
- Explain the two procedures — PDU Session Modification (changing QoS or adding/removing QoS Flows on an established session) and PDU Session Release (release) — along with the difference in their purposes.
- Explain that each procedure can occur from both the UE-requested (UE-originated) and Network-requested (NW-originated) sides.
- Explain that Modification is realized as the addition, change, or deletion of per-QoS-Flow parameters (QFI/5QI/GBR, etc.).
- Explain the flow of separating control from enforcement — control (PCF/SMF) → enforcement (UPF over N4/PFCP, gNB over N2/NGAP, UE over N1/5GSM NAS).
- Explain that a PCF policy change is a primary trigger for Network-requested Modification.
- Explain the division of roles in which the AMF mediates (the N1/N2 point of contact) while the actual SM processing is driven by the SMF.
- Compare 4G's Bearer Modification / Bearer Deactivation (per EPS Bearer) with 5G's per-PDU-Session / per-QoS-Flow change and release.
Prerequisites¶
- PDU Session Establishment — an essential prerequisite. An established session is the starting point of this chapter.
- QoS — the detailed model of QoS Flow / QFI / 5QI / GBR.
- Service Request — the procedure that brings a CM-IDLE UE back onto the user plane (related to NW-originated Command delivery).
- N1 / N2 / N4 / N7 — the individual interfaces.
- SMF / UPF / PCF / AMF — the NFs involved.
What you'll learn in this chapter¶
- Scope: Modification and Release of an established PDU Session. Each from both the UE-requested / Network-requested origins. The flow from control to enforcement.
- Out of scope:
- The establishment procedure itself → PDU Session Establishment.
- The details of the QoS model (5QI characteristics, AMBR, DRB mapping, etc.) → QoS.
- The internal processing of the radio-side DRB and the details of RRC reconfiguration.
Why — why Modification / Release are needed¶
A PDU session is not "establish it and you're done." During communication the application switches, a video call begins and demands high quality assurance (GBR), or conversely that is no longer needed and reverts to Non-GBR, or the session itself becomes unnecessary and its resources should be returned — such dynamic state changes occur constantly.
- The procedure for changing QoS mid-communication (adding, changing, or deleting QoS Flows) is Modification.
- The procedure for returning resources when a session is no longer needed (releasing the UPF session, TEID, IP, and radio resources) is Release.
Without these, quality stays frozen out of step with reality, or unused resources linger and squeeze network capacity.
Analogy: In terms of a rental contract, Modification is like "rewriting the terms of the contract (adding a room, changing options) while continuing to live in the same place," and Release is like "moving out and returning the keys and the room." Both are operations that arise after move-in (after establishment).
Overview¶
| Aspect | Modification | Release |
|---|---|---|
| Purpose | Add/change/delete QoS Flows, update QoS parameters | Delete the session and all resources |
| Session state | Stays ACTIVE | ACTIVE → deleted (equivalent to INACTIVE) |
| Operation on UPF | N4 Session Modification (update PDR/FAR/QER) | N4 Session Deletion (delete) |
| Operation on gNB | N2 PDU Session Resource Modify (DRB reconfiguration) | N2 PDU Session Resource Release (release DRB/N3) |
| NAS to UE | PDU Session Modification Command/Complete | PDU Session Release Command/Complete |
| Origin | UE-requested | Network-requested |
|---|---|---|
| Modification | The UE sends a PDU Session Modification Request(5GSM) (a QoS change request, etc.) | Triggered by a PCF policy change (e.g., Npcf_SMPolicyControl_UpdateNotify — the operation name is to be confirmed), or by the SMF's own decision |
| Release | The UE sends a PDU Session Release Request(5GSM) | SMF / PCF / AMF-originated (triggers such as policy, charging, faults, deregistration) |
flowchart TD
A["Established PDU Session (ACTIVE)"] --> B{"Trigger"}
B -->|"Want to change QoS"| M["Modification (add/change/delete QoS Flow)"]
B -->|"No longer needed"| R["Release (release resources)"]
M --> A
R --> Z["Deleted (equivalent to INACTIVE)"]
Basic Concept — a beginner-friendly explanation¶
1. What Modification is (changing QoS Flows)¶
Modification is the procedure of rewriting the QoS Flows inside a session while keeping the established session intact. A QoS Flow is the finest granularity of 5G QoS, identified by a QFI, and carries parameters such as 5QI (quality characteristics) and GBR (bandwidth guarantee). Modification adds, changes, or deletes QoS Flows. For the detailed QoS model, see QoS.
Enforcement targets three directions. On the UPF, PDR/FAR/QER are updated via the N4(PFCP) Session Modification; on the gNB, the DRB is reconfigured via the N2(NGAP) PDU Session Resource Modify; and to the UE, the N1(5GSM NAS) Modification Command is delivered.
2. What Release is (release)¶
Release is the procedure of deleting the session itself and returning the associated resources. The UPF releases the session and TEID via N4 Session Deletion, the gNB releases the DRB/N3 via N2 PDU Session Resource Release, and the N1 Release Command is delivered to the UE. The SMF releases the Nsmf context, and also stops charging and returns the IP address.
The AMF mediates; the SMF drives
In both Modification and Release, the actual SM (Session Management) processing is handled by the SMF. As the N1/N2 point of contact, the AMF merely relays the SM NAS message and N2 SM information prepared by the SMF to the UE / gNB; it is not the entity that processes or interprets the substance of the SM.
3. UE-requested and Network-requested¶
Even the same Modification / Release comes in two variants depending on who initiates it. UE-requested begins when the UE sends a Request, whereas Network-requested begins for network-side reasons such as a PCF policy change, the SMF's decision, a fault, or charging. In the Network-requested case, if the UE is CM-IDLE, a Service Request (returning to the user plane via paging) may precede in order to deliver the Command (to be confirmed: the conditions depend on the release/implementation).
Architecture¶
flowchart LR
UE["UE (5GSM)"]
gNB["gNB / NG-RAN"]
AMF["AMF (mediator)"]
SMF["SMF (SM driver)"]
UPF["UPF (enforcement)"]
PCF["PCF (policy trigger)"]
DN["DN"]
PCF -->|"N7 (policy change)"| SMF
SMF -->|"N4 (PFCP) enforcement"| UPF
SMF -->|"SM NAS + N2 SM info"| AMF
AMF -->|"N2 (NGAP) enforcement"| gNB
AMF -->|"N1 (NAS) relay"| UE
gNB -.->|"DRB reconfigure/release"| UE
UPF --- DN
classDef core fill:#c8e6c9,stroke:#2e7d32,color:#000;
class AMF,SMF,UPF,PCF core;
The control path (PCF → SMF) decides "what to change," and the enforcement path (SMF → UPF over N4, AMF → gNB over N2, AMF → UE over N1) actually applies it. This separation of control from enforcement is the design philosophy of the 5GC.
Network Function¶
| NF | Role in this procedure | Information held/obtained | Main APIs/procedures used | Impact on failure |
|---|---|---|---|---|
| AMF | The mediator for N1/N2. Relays SM NAS to the SMF and delivers to the UE/gNB via N1N2MessageTransfer | UE's CM state, N2 context | Namf_Communication_N1N2MessageTransfer, Nsmf invocations | Command/Complete are not delivered and the procedure stalls |
| SMF | The driver of SM. Decides and initiates Modification/Release and orchestrates the application to UPF/gNB/UE | PDU session context, QoS Flow information, allocated IP | Nsmf_PDUSession, N4(PFCP) control | Change/release cannot be executed |
| UPF | Enforces the user plane per N4 (updating PDR/FAR/QER, or deleting) | PFCP session, TEID, forwarding rules | N4 Session Modification/Deletion(PFCP) | QoS cannot be applied; resources remain even after Release |
| PCF | The policy trigger. Induces Network-requested Modification via PCC rule changes | SM policy, PCC rules | Npcf_SMPolicyControl (UpdateNotify/Delete — operation name to be confirmed) | Dynamic QoS changes are not initiated |
| gNB | Reconfigures/releases the DRB on the radio side (treated here as the N2 point of contact; radio internals are out of scope) | N2/N3 context, DRB | N2 PDU Session Resource Modify/Release(NGAP) | Radio resources are not applied/released |
Interface / Protocol¶
| Interface | Protocol | Transport | Peers | Purpose |
|---|---|---|---|---|
| N1 | NAS (5GSM) | (NAS is nested within 5GMM) | UE ↔ AMF (transparently to SMF) | PDU Session Modification/Release Command・Complete, etc. |
| N2 | NGAP | SCTP 38412 | AMF ↔ gNB | PDU Session Resource Modify/Release, carrying N2 SM information |
| N4 | PFCP | UDP 8805 | SMF ↔ UPF | Session Modification (update PDR/FAR/QER) / Deletion |
| N7 | SBI (Npcf) | HTTP/2 (SBI) | SMF ↔ PCF | SM policy update notification / deletion (Npcf_SMPolicyControl — to be confirmed) |
| Equivalent to N11 | SBI (Nsmf) | HTTP/2 (SBI) | AMF ↔ SMF | Nsmf_PDUSession (UpdateSMContext, etc.) |
procedureCode and message type are to be confirmed
The NGAP procedureCode, the 5GSM message type values, the PFCP message type numbers, and so on depend on the release and the dissector implementation. This page does not assert their values (to be confirmed). The only values it is safe to assert are the well-known standard ports (PFCP=UDP 8805 / GTP-U=UDP 2152 / NGAP=SCTP 38412).
Procedure — Call Flow¶
(A) PDU Session Modification (centered on Network-requested)¶
sequenceDiagram
participant UE
participant gNB
participant AMF
participant SMF
participant UPF
participant PCF
Note over PCF,SMF: Trigger: PCF policy change
(for the UE-originated case, see the diff note)
PCF->>SMF: Npcf_SMPolicyControl_UpdateNotify
(PCC rule change — to be confirmed)
Note over SMF: SMF decides the change
(add/change/delete QoS Flow)
SMF->>UPF: N4 Session Modification (PFCP)
update PDR/FAR/QER
UPF-->>SMF: N4 Modification Response
SMF->>AMF: Namf_Communication_N1N2MessageTransfer
(N1: Modification Command + N2 SM info)
AMF->>gNB: N2 PDU Session Resource Modify (NGAP)
Note over gNB,UE: gNB reconfigures the DRB
gNB-->>AMF: N2 Modify Response
AMF->>UE: PDU Session Modification Command (5GSM/N1)
UE->>AMF: PDU Session Modification Complete (5GSM/N1)
AMF->>SMF: Nsmf_PDUSession_UpdateSMContext
Note over SMF,UPF: Additional N4 updates as needed (count is implementation-dependent — to be confirmed)
Step-by-step (Modification)
- Trigger: The PCF notifies the SMF of a PCC rule change (Npcf_SMPolicyControl_UpdateNotify — operation name to be confirmed). In the UE-originated case, the UE sends a PDU Session Modification Request(5GSM) (the diff is below).
- SMF decision: The SMF decides the addition/change/deletion of QoS Flows.
- N4 enforcement: SMF → UPF updates PDR/FAR/QER via N4 Session Modification(PFCP).
- N1N2 delivery: SMF → AMF via Namf_Communication_N1N2MessageTransfer (N1 = Modification Command, with N2 SM information enclosed).
- N2 enforcement: AMF → gNB via N2 PDU Session Resource Modify(NGAP) → the gNB reconfigures the DRB.
- NAS completion: Modification Command / Complete are exchanged among UE ↔ AMF ↔ SMF.
- The UE state stays ACTIVE (only the QoS is updated).
Diff from the UE-originated case: The UE first sends a PDU Session Modification Request(5GSM) to the SMF via the AMF, the SMF decides whether it can be accepted (checking with the PCF if necessary), and thereafter it proceeds the same as from step 3 above. If the SMF cannot authorize the request, it returns a Modification Reject (the 5GSM cause value for the reason is to be confirmed).
(B) PDU Session Release¶
sequenceDiagram
participant UE
participant gNB
participant AMF
participant SMF
participant UPF
participant PCF
Note over UE,PCF: Trigger: UE Release Request
or NW-originated (SMF/PCF/AMF)
SMF->>UPF: N4 Session Deletion (PFCP)
release session/TEID
UPF-->>SMF: N4 Deletion Response
SMF->>AMF: Namf_Communication_N1N2MessageTransfer
(N1: Release Command + N2 SM info)
AMF->>gNB: N2 PDU Session Resource Release (NGAP)
Note over gNB,UE: gNB releases DRB/N3
gNB-->>AMF: N2 Release Response
AMF->>UE: PDU Session Release Command (5GSM/N1)
UE->>AMF: PDU Session Release Complete (5GSM/N1)
AMF->>SMF: Nsmf_PDUSession_UpdateSMContext
SMF->>PCF: Npcf_SMPolicyControl_Delete (to be confirmed)
Note over SMF: stop charging・return IP address
release Nsmf context
Step-by-step (Release)
- Trigger: The UE sends a PDU Session Release Request(5GSM), or it is NW-originated (a decision by the SMF/PCF/AMF, triggered by policy, charging, faults, deregistration, etc.).
- N4 deletion: SMF → UPF via N4 Session Deletion(PFCP) → the UPF releases the session, TEID, and forwarding rules.
- N1N2 delivery: SMF → AMF via N1N2MessageTransfer (N1 = Release Command, with N2 SM information enclosed).
- N2 release: AMF → gNB via N2 PDU Session Resource Release(NGAP) → the gNB releases the DRB/N3.
- NAS completion: Release Command / Complete are exchanged among UE ↔ AMF ↔ SMF.
- Post-processing: The SMF notifies the PCF/charging of the release (Npcf_SMPolicyControl_Delete — to be confirmed), returns the allocated IP, and releases the Nsmf context.
- The session state goes from ACTIVE → deleted (equivalent to INACTIVE).
Ordering and optional steps are implementation-dependent
The message ordering above, the presence of optional steps, the number of N4 updates/deletions, the relative order of N2 and N1, and so on vary by release and vendor implementation (to be confirmed). The diagram is one example of a representative flow.
Signal Flow¶
| Message/Operation | Protocol | Source→Destination | Purpose | Main IEs (some to be confirmed) | Result |
|---|---|---|---|---|---|
| PDU Session Modification Request | 5GSM (N1) | UE → SMF | QoS change request (UE-originated) | Requested QoS Flow info, etc. (to be confirmed) | SMF decides |
| PDU Session Modification Command | 5GSM (N1) | SMF → UE | Instructs the change | Updated QoS rules, etc. (to be confirmed) | UE applies |
| PDU Session Modification Complete | 5GSM (N1) | UE → SMF | Change-complete response | — | Procedure complete |
| PDU Session Release Request | 5GSM (N1) | UE → SMF | Release request (UE-originated) | PDU Session ID, etc. (to be confirmed) | SMF initiates release |
| PDU Session Release Command | 5GSM (N1) | SMF → UE | Instructs the release | 5GSM cause, etc. (to be confirmed) | UE releases |
| PDU Session Release Complete | 5GSM (N1) | UE → SMF | Release-complete response | — | Procedure complete |
| Namf_Communication_N1N2MessageTransfer | SBI (Namf) | SMF → AMF | Request to deliver N1 NAS + N2 SM info | N1 SM container, N2 SM info (to be confirmed) | AMF delivers to UE/gNB |
| Nsmf_PDUSession_UpdateSMContext | SBI (Nsmf) | AMF → SMF | Reflect the response from UE/gNB back to the SMF | SM context info (to be confirmed) | SMF continues |
| N4 Session Modification | PFCP (N4) | SMF → UPF | Update PDR/FAR/QER | PDR/FAR/QER (to be confirmed) | UP applied |
| N4 Session Deletion | PFCP (N4) | SMF → UPF | Delete session | F-SEID/TEID (to be confirmed) | Resources released |
| N2 PDU Session Resource Modify | NGAP (N2) | AMF → gNB | DRB reconfiguration | QoS profile, etc. (to be confirmed) | Applied on the radio side |
| N2 PDU Session Resource Release | NGAP (N2) | AMF → gNB | Release DRB/N3 | PDU Session ID, etc. (to be confirmed) | Released on the radio side |
| Npcf_SMPolicyControl_UpdateNotify | SBI (Npcf) | PCF → SMF | Policy-change notification (Modification trigger) | PCC rules (to be confirmed) | SMF initiates |
| Npcf_SMPolicyControl_Delete | SBI (Npcf) | SMF → PCF | Delete SM policy (Release post-processing) | — | Policy released |
State Machine¶
stateDiagram-v2
[*] --> INACTIVE
INACTIVE --> ACTIVE: PDU Session Establishment (separate chapter)
ACTIVE --> ACTIVE: Modification (QoS change, state maintained)
ACTIVE --> INACTIVE: PDU Session Release
INACTIVE --> [*]
- Modification updates only the QoS Flow parameters while keeping the session ACTIVE (a self-transition).
- Release transitions from ACTIVE → INACTIVE (deleted).
State names are conceptual expressions — to be confirmed
State names such as INACTIVE / ACTIVE and the granularity of the transitions are conceptual expressions; the precise definitions depend on the release/spec (to be confirmed). Because this chapter focuses narrowly on change and release after establishment (ACTIVE), it is drawn with two states, omitting the transient ACTIVATING state during establishment processing. For the full picture with three states including the establishment phase (INACTIVE/ACTIVATING/ACTIVE), see the state machine in the PDU Session Establishment chapter, and understand this diagram as a partial view starting from that ACTIVE.
Packet Analysis (Wireshark)¶
Main Display Filters¶
| Filter | Target |
|---|---|
nas-5gs.sm |
5GSM (SM NAS): Modification/Release Command/Complete, etc. |
ngap |
N2 PDU Session Resource Modify/Release |
pfcp |
N4 Session Modification/Deletion |
gtp |
N3(GTP-U). Checking QFI marking and the TEID being released |
The values are to be confirmed
The specific values of each message type, the NGAP procedureCode, the PFCP message type number, and so on depend on the release and the dissector implementation. After narrowing down to the relevant messages with a filter, check the values in the actual capture (to be confirmed).
What to look for in the decode¶
- Modification: the QFI / 5QI being changed, the QoS Flow being added/deleted, and the PDR/FAR/QER being updated (PFCP).
- Release: the TEID being released (PFCP/GTP-U), the PFCP session being deleted, and the PDU Session Resource being released over N2.
The nesting structure of SM NAS¶
5GSM (SM NAS) is carried nested inside 5GMM (MM NAS) (5GMM > 5GSM). The AMF handles this container transparently, and the substance of the 5GSM is interpreted by the SMF. In Wireshark, nas-5gs.sm appears nested inside nas-5gs.mm.
Configuration¶
Only structural-level aspects are shown (no specific values are given).
- Dynamic QoS changes are chiefly triggered by the PCF's PCC rules. In a static configuration, the default QoS tied to the DNN/slice is used (key names are implementation-dependent).
- On Release, the address is returned to the IP pool as the UPF deletes the session, and the TEID is released.
- Whether Modification/Release is permitted depends on subscriber data, policy, and authorization.
Do not write fictitious values
Configuration key names, timer values, cause values, default 5QIs, and so on depend on the implementation and release. This page does not assert specific values (to be confirmed). Check them in the documentation for your actual equipment.
Trouble Shooting¶
| Symptom | Likely cause | Points to check | Related logs/Packets | Direction for resolution |
|---|---|---|---|---|
| Modification Reject | QoS not authorized / insufficient resources | PCF policy, SMF authorization, GBR availability | nas-5gs.sm, SMF/PCF logs |
Reconsider the requested QoS, secure resources |
| N4 Modification failure | PFCP error, UPF resource exhaustion | UPF state, PFCP response cause (to be confirmed) | pfcp |
Check UPF-side resources and rules |
| Resources remain after Release | N4 Deletion not completed / residual FAR, etc. | Whether a PFCP session remains on the UPF | pfcp, UPF session list |
Re-run N4 Deletion, verify consistency |
| NW-originated Command does not arrive | UE is CM-IDLE and unreachable | UE's CM state, whether paging is needed | AMF logs, ngap |
Deliver after returning via Service Request (paging) |
| Complete is not returned | Radio-segment fault, UE not responding, timer expiry | N2/N1 responses, retransmission | ngap, nas-5gs.sm |
Retransmission and timeout handling (timer values to be confirmed) |
Comparison with EPC¶
| Aspect | 4G / EPC | 5G / 5GC |
|---|---|---|
| Unit of change | Bearer Modification (per EPS Bearer) | Per PDU Session / QoS Flow |
| Unit of release | Bearer Deactivation (per EPS Bearer) | PDU Session Release (+ QoS Flow deletion) |
| Control | MME | AMF (mediator) / SMF (SM driver) |
| Forwarding/enforcement | S-GW / P-GW (GTP-C control) | UPF (enforced over N4/PFCP) |
| QoS identifier | QCI | 5QI |
The evolution of the separation design
In 4G, control and forwarding were handled as a coupled unit called a bearer, but in 5G the QoS Flow (finest granularity) and the PDU Session (a bundle) are separated, and furthermore control (SMF/PCF) and forwarding (UPF) are separated with CUPS. This enables flexible per-QoS-Flow changes and independent scaling and enforcement on the UPF side.
Release differences¶
- Rel-15: The basic procedures for PDU Session Modification / Release are specified.
- Rel-16 / Rel-17 and later: Additional features and extensions (e.g., procedural differences accompanying specific features) vary by release.
Release differences are to be confirmed
Which extension was introduced in which Release, subsection branch numbers, and additions/changes to IEs depend on the release (to be confirmed). Check the spec for the Release you are actually targeting.
3GPP Specification¶
| Spec | Section | Content |
|---|---|---|
| TS 23.502 | §4.3.3 (subsection number to be confirmed) | PDU Session Modification procedure (the basis for this chapter's Call Flow) |
| TS 23.502 | §4.3.4 (subsection number to be confirmed) | PDU Session Release procedure (the basis for this chapter's Call Flow) |
| TS 24.501 | §6.4 series (to be confirmed) | 5GSM Modification / Release NAS procedures |
| TS 23.501 | §5.6 / §5.7 (to be confirmed) | General principles of PDU Session / QoS |
| TS 29.244 | — | PFCP (N4 Session Modification/Deletion) |
| TS 29.502 | — | Nsmf_PDUSession service |
| TS 29.512 | — (to be confirmed) | Npcf_SMPolicyControl service |
| TS 38.413 | — | NGAP (N2 PDU Session Resource Modify/Release) |
Handling of section numbers
Section numbers and subsection branches vary by release. The § numbers in the table above are approximate; check the exact locations in the table of contents of the target release (to be confirmed).
FAQ¶
Q1. What is the difference between Modification and Release?
Modification is the procedure of changing the QoS Flows (QoS) while keeping the session intact, and the state stays ACTIVE. Release is the procedure of deleting the session itself and returning resources, transitioning from ACTIVE to deleted (equivalent to INACTIVE).
Q2. What is the difference between UE-requested and Network-requested?
It is the difference in who initiates the procedure. UE-requested begins when the UE sends a Request; Network-requested begins for network-side reasons such as a PCF policy change, the SMF's decision, faults, charging, or deregistration. The substance of the application (N4/N2/N1) is common to both.
Q3. Who initiates a QoS change?
In many cases a PCF policy change is the trigger and the SMF executes it (Network-requested). There are also cases where the UE explicitly requests it (UE-requested), and the SMF authorizes whether it is permitted. For the detailed QoS model, see QoS. The operation name is to be confirmed.
Q4. What happens to the UE's IP address when you Release?
The IP address that had been allocated to that session is released and returned to the IP pool (managed by the SMF). The UPF-side TEID and forwarding rules are also released by the N4 Session Deletion.
Q5. Does the AMF interpret the substance of SM (Session Management)?
No. The AMF mediates N1/N2, transparently relaying the SM NAS (5GSM) to the SMF and delivering the N1/N2 information prepared by the SMF to the UE/gNB. The entity that processes the substance of SM is the SMF.
Summary¶
- An established PDU session has operational procedures for changing QoS mid-communication (Modification) and for releasing it (Release).
- Both occur from both the UE-requested / Network-requested origins, and Network-requested Modification is chiefly triggered by a PCF policy change.
- Modification is the per-QoS-Flow addition/change/deletion, and the state stays ACTIVE. Release is the deletion of the session, transitioning from ACTIVE to equivalent to INACTIVE.
- The flow of control (PCF/SMF) → enforcement (UPF over N4/PFCP, gNB over N2/NGAP, UE over N1/5GSM NAS) is common to both.
- The AMF mediates; the SMF is the SM driver. In contrast to 4G's Bearer Modification/Deactivation (per EPS Bearer), 5G is per PDU Session/QoS Flow.
- Basis specs (subsection numbers to be confirmed): TS 23.502 §4.3.3/§4.3.4, TS 24.501 §6.4 series, TS 23.501 §5.6/§5.7, TS 29.244, TS 29.502, TS 29.512, TS 38.413.
Practice — comprehension check and exercises¶
Comprehension check¶
Q1. During Modification, what happens to the PDU session state?
It stays ACTIVE. Only the QoS Flows (QoS) are updated; the session is not deleted.
Q2. Which N4(PFCP) operation is used against the UPF for Modification and for Release respectively?
Modification uses N4 Session Modification (update PDR/FAR/QER), and Release uses N4 Session Deletion (delete the session and TEID).
Q3. What is the representative trigger for Network-requested Modification?
A PCF policy change (a PCC rule change). It is notified to the SMF (Npcf_SMPolicyControl_UpdateNotify — operation name to be confirmed), and the SMF initiates the change.
Q4. State the AMF's role in one phrase.
It is the mediator (point of contact) for N1/N2. It delivers the SM NAS and N2 SM information to the UE/gNB, but the processing of the substance of SM is handled by the SMF.
Q5. What is the typical case where a Network-requested Command does not arrive at the UE, and how is it handled?
The case where the UE is CM-IDLE and unreachable. The user plane is brought back via paging (Service Request), and then the Command is delivered (the conditions are to be confirmed).
Exercise: Reorder the main steps of PDU Session Release¶
Reorder the following steps (NW-originated PDU Session Release) into the correct order.
a. AMF → gNB: N2 PDU Session Resource Release
b. SMF → UPF: N4 Session Deletion (release session/TEID)
c. UE ↔ AMF ↔ SMF: Release Command / Complete
d. SMF → AMF: N1N2MessageTransfer (N1: Release Command + N2 SM info)
e. SMF notifies PCF/charging of the release, returns the IP, and releases the Nsmf context
Answer
Order: b → d → a → c → e
- b. N4 Session Deletion: First, release the UPF's session, TEID, and forwarding rules (stop the user-plane enforcement).
- d. N1N2MessageTransfer: The SMF hands the N1 (Release Command) and N2 SM information to the AMF and requests delivery.
- a. N2 PDU Session Resource Release: Sent from AMF → gNB over NGAP, and the gNB releases the DRB/N3.
- c. Release Command / Complete: The NAS completion responses are exchanged among UE ↔ AMF ↔ SMF.
- e. Post-processing: The SMF notifies the PCF/charging of the release (Npcf_SMPolicyControl_Delete — to be confirmed), returns the IP, and releases the Nsmf context.
Implementation-dependent
The order above (in particular the relative timing of the N4 deletion and N2/N1, and how the post-processing is grouped) varies by release and vendor implementation (to be confirmed).
Next Step¶
- PDU Session Establishment — prerequisite. The establishment procedure.
- QoS — the detailed model of QoS Flow / 5QI / GBR.
- Network Slicing — the relationship between slices and PDU sessions.
- Service Request — returning a CM-IDLE UE to the user plane.
- Related NFs: SMF / UPF / PCF / AMF
- Related IFs: N1 / N2 / N4 / N7
- Dictionaries: Message Dictionary / Timer Dictionary / Cause Dictionary / Protocol Dictionary / NF Dictionary / Interface Dictionary