Wawasan Industri
2026-11-02 15:09:24

Prosedur Pelepasan Sesi PDU Jaringan Inti 5GC

Pelepasan Sesi PDU 5GC menghapus sumber daya sesi di bawah kendali SMF. Pemicu UE dan jaringan, kondisi pensinyalan N1/N2, penghapusan PFCP N4, dan pemeriksaan jejak membedakan penghentian sesi dari pelepasan akses.

Becke Telcom

Prosedur Pelepasan Sesi PDU Jaringan Inti 5GC

An established PDU Session may already be carrying traffic through a gNB and UPF when the UE requests disconnection or the network decides to terminate it. PDU Session Release removes that session and its associated resources. For an IP-based session, those resources include the allocated IP address or prefixes; access resources, UPF state and policy relationships also require the applicable cleanup.

The SMF coordinates session release, while the AMF handles access and mobility signaling and relays session-management information. Releasing one PDU Session does not, by itself, deregister the UE or release its other sessions. The useful question in a trace is therefore which session is ending, why it is ending, and which resources still exist for it.

The main example below is a single-access PDU Session over 3GPP access, in a non-roaming or local-breakout deployment. It follows 3GPP TS 23.502 V18.9.0, clauses 4.3.4.1 and 4.3.4.2. Home-routed roaming, multi-access sessions and specialized access arrangements have additional rules. Even within this example, an inactive user-plane connection or an unreachable UE changes the expected signaling.

Session Release, Access Release and Deregistration

ProcedurePurposeWhat the result means
PDU Session EstablishmentCreate a new session in the initial-establishment caseThe UE gains a session toward a data network.
PDU Session ModificationChange an existing session, such as its QoS rules or flowsThe session continues with updated parameters.
PDU Session ReleaseTerminate the selected sessionThat session's resources are released; other sessions may remain.
AN Release or user-plane deactivationRelease access connections or deactivate the session's access user planeThe PDU Session can remain established in the core.
5GS DeregistrationEnd registration for the applicable access scopeRegistration and related session handling follow the deregistration branch.

An RRC Release or NGAP UE Context Release is therefore insufficient evidence of PDU Session termination. Likewise, a RAN report that session resources have been released does not force the SMF to delete the session: the SMF can retain it with the user-plane connection deactivated.

For the preceding lifecycle stages, see the PDU Session Establishment procedure and the PDU Session Modification procedure. Their focus is creating or changing connectivity; release analysis follows the removal of an existing session.

Concept illustration of one enterprise PDU Session being released while the UE remains registered and other sessions remain active
One session can end while registration and other sessions remain. The lower illustration is conceptual: its lines are not an accurate interface or packet-routing map. Ordinary user traffic travels through the gNB and UPF toward the data network, not through the AMF, SMF or PCF.

Who Controls N1, N2 and N4?

Several messages contain the words “PDU Session Release,” but they have different endpoints and confirm different actions. Keep the session-management payload separate from the transport carrying it.

PathEndpoints and handlingRelease evidence
N1 and N1 SMN1 connects the UE and AMF. The 5GSM session-management messages are created and processed by the UE and SMF; the AMF relays their containers.PDU Session Release Request, Command and Complete, when the explicit NAS exchange applies.
N2The AMF and NG-RAN exchange NGAP signaling. SMF-generated N2 SM information reaches the RAN through the AMF.PDU Session Resource Release Command and Response for access resources that need release.
N4The SMF controls the UPF using PFCP.PFCP Session Deletion Request and Response for the corresponding UPF session.

N3 is the user-plane path between the gNB and UPF. Removing its session-specific tunnel resources is different from exchanging a release command on N2 or deleting a PFCP session on N4. The AMF does not send PFCP commands to the UPF.

What Triggers PDU Session Release?

A UE request is only one entry point. The first event may instead be a policy decision, a state mismatch or another network condition:

  • UE request: the UE sends PDU Session Release Request for the selected PDU Session ID.

  • PCF trigger: SM Policy Association Termination requests session release through the SMF.

  • SMF decision: local policy or information from functions such as the DN, UDM or CHF requires the session to end.

  • AMF request: a session-state mismatch or an applicable slice-related condition requires cleanup. The service operation depends on whether further N1/N2 signaling is needed.

  • RAN resource report: the RAN reports released resources, for example after all associated QoS Flows have been released. The SMF decides whether to deactivate the user plane or release the session.

PDU Session Release Command identifies the instruction sent toward the UE, not necessarily the original trigger. To distinguish UE-requested and network-requested cases, inspect the events before that command and the cause information carried between the relevant functions.

A UE-Initiated Release with Active Access Resources

Assume PDU Session ID 5 has an active user-plane connection, the UE is reachable, and the SMF accepts its release request. This is a useful reference case, rather than a mandatory packet list for every release.

  1. The UE requests release. It sends PDU Session Release Request in the NAS transport procedure. Over NG-RAN, the gNB conveys the NAS message to the AMF using NGAP uplink transport. The NAS UL NAS Transport message and NGAP Uplink NAS Transport are different protocol layers.

  2. The AMF forwards the request to the serving SMF. It invokes Nsmf_PDUSession_UpdateSMContext for the existing context, carrying the N1 SM information. It does not create a new SM Context.

  3. The SMF releases the session's user-plane resources. In this reference flow, the N4 release stage precedes the N1/N2 release information. The SMF initiates PFCP Session Deletion toward the involved UPF, which responds with the result. With multiple UPFs, one exchange is not enough to account for every affected N4 session.

  4. The SMF supplies N1 and N2 information to the AMF. Its UpdateSMContext response carries PDU Session Release Command for the UE and, because the user-plane connection is active in this example, N2 SM resource-release information.

  5. The AMF requests access-resource release. It sends NGAP PDU Session Resource Release Command to the gNB. When the command contains a NAS PDU, the gNB passes it to the UE. The gNB releases the specified access resources and returns PDU Session Resource Release Response.

  6. The UE confirms the NAS release. On receipt of the single-access PDU Session Release Command, it considers the session released and sends PDU Session Release Complete. The AMF forwards this N1 SM response to the SMF.

  7. The SMF completes the relevant context cleanup. After receiving the required replies, it notifies the AMF of the released SM Context and performs the applicable policy and subscription-related cleanup.

The UE confirmation can reach the core before the RAN resource-release acknowledgment. TS 23.502 explicitly allows those response stages to occur in either order. A trace should not be marked faulty merely because Release Complete appears before the N2 response.

The actual NAS confirmation name is PDU Session Release Complete. Some stage-2 diagrams label it “PDU Session Release Ack.” TS 24.501 V17.7.1, clauses 6.3.3 and 6.4.3 supplies the NAS message behavior, including acceptance, rejection and abnormal cases. An accepted UE request proceeds through the network-requested NAS release procedure, which is why a Release Command follows the Request.

Original conceptual release illustration showing UE, gNB, AMF, SMF and UPF, with inaccurate PFCP arrow placement
This original illustration is not a standards-accurate sequence diagram. Its PFCP arrow is incorrectly aligned with the AMF: PFCP Session Deletion runs between the SMF and UPF. N2 runs between the AMF and gNB, and the UE–SMF NAS exchange is relayed through the AMF. Use the scoped sequence above for the message paths and conditions.

When the Network Uses a Different Release Branch

SMF or PCF Initiation

When the SMF or PCF starts release, there is no initial UE Release Request. The SMF normally uses Namf_Communication_N1N2MessageTransfer to deliver the release information through the AMF. N2 resource-release information is included when the session's user-plane connection is active; it is omitted when that connection is already deactivated.

If a CM-IDLE UE needs to receive the NAS command, the AMF can initiate the network-triggered Service Request procedure. However, applicable delivery-skip conditions or a prior indication that the UE is unreachable allow the network to continue without the ordinary UE-facing exchange. Later Service Request or Registration signaling can synchronize session status. Missing Release Complete is therefore a fault indicator only after the expected branch and delivery result have been established.

AMF-Initiated Context Cleanup

Nsmf_PDUSession_ReleaseSMContext applies to cases such as a UE/network session-status mismatch where neither N1 nor N2 SM signaling is needed before context release. It is not the universal AMF operation for every session release. If further signaling is required, the AMF can instead use Nsmf_PDUSession_UpdateSMContext with a release indication.

These operations concern a session context. The separate AMF purge procedure concerns retained subscriber and mobility-management context after deregistration. An AMF purge result does not prove that a particular UPF session was deleted.

What Resource Cleanup Must Account For

UPF Sessions and Forwarding Rules

PFCP Session Deletion removes the selected PFCP session and its associated rules, such as applicable PDRs, FARs, QERs and URRs. A successful Response can also carry pending usage reports. Check the response cause: the mere presence of a response is not proof of successful deletion.

TS 29.244 V18.7.0, clause 6.3.4 distinguishes successful deletion from “Session context not found.” For the latter, compare the PFCP identifiers, previous transactions and UPF restart history before deciding whether the record was already removed or the wrong context was addressed.

Where several UPFs serve the PDU Session, follow each relevant N4 session. Shared infrastructure does not disappear just because one session ends: release targets the associated resources, and shared resources can remain while other sessions still need them.

Access, UE and Core Session State

The RAN releases resources requested by the applicable N2 procedure. If those resources were already absent, a fresh N2 release exchange may not be needed. On the explicit NAS path, UE state is updated through the Release Command and Complete exchange. On a skipped-delivery or unreachable-UE path, immediate confirmation from the UE is not a prerequisite for network-side cleanup.

For the branches that use it, Nsmf_PDUSession_SMContextStatusNotify tells the AMF that the SM Context is released. The AMF removes the session's association with the serving SMF and related session information; this does not imply removal of the UE's entire registration context.

Dynamic policy control requires the associated SM Policy Association termination. UDM cleanup also has distinct scopes: removal of the SMF's registration for the released session differs from unsubscribing to subscription-data changes. In the cited release flow, the unsubscribe condition is the last PDU Session that this SMF handles for the UE and the associated DNN/S-NSSAI combination. It is not a rule to delete all subscriber data when any session ends.

Conceptual checklist for PDU Session state cleanup across the UE, RAN, SMF, UPF and policy association
The cleanup checklist applies to the selected session. “UE Context” here means its session-management state, not the entire UE registration or subscriber account. N1, N2 and N4 checks are conditional on the actual branch; the graphic does not require three visible successful exchanges in every case.

Verifying Release in Signaling Traces

Start with the UE identity and session lifecycle, then correlate the PDU Session ID with the SM Context reference, NAS transaction information and the relevant UPF PFCP identifiers. A PDU Session ID alone is not a network-wide unique key. Record the trigger, access state and capture coverage before judging missing packets.

ObservationNext check
The UE has stopped passing dataCheck whether the session ended, its user plane was deactivated, or forwarding failed. Loss of traffic alone does not distinguish them.
Release Complete is present, but UPF state remainsMatch the exact PFCP session, deletion response cause and all involved UPFs. Check for an earlier failed request or a newly established session.
PFCP deletion succeeded, but RAN resources remainDetermine whether N2 release was required, then inspect delivery, the RAN response and current resource state.
Release Command or Complete is absentCheck UE reachability, the delivery-skip indication, AMF operation and trace visibility before declaring NAS failure.
Repeated Release Requests or Commands appearCorrelate the NAS procedure transaction identity and timers with delivery results. Separate retransmissions from a new release attempt.
Policy or UDM state remainsCheck which association or subscription belonged to this session and whether another valid session still requires it.

A successful individual response confirms its own protocol operation. End-to-end verification combines those results with the final state of the resources that actually existed. If a capture omits an interface, report that part as unobserved and use the corresponding function's logs or state inspection to close the gap.

FAQs

Can the network reject a UE-requested PDU Session Release?

Yes. TS 24.501 defines PDU Session Release Reject when the SMF does not accept the request. Inspect its 5GSM cause and the corresponding UE handling; sending a Release Request does not guarantee that the normal Command/Complete exchange will follow.

Why does a new session appear immediately after release?

Check whether Release Command carries 5GSM cause #39, “reactivation requested.” In that case, the UE should initiate establishment again with the applicable characteristics of the released session. That new establishment is a separate lifecycle event, not evidence that deletion of the old session necessarily failed.

Does deleting a PFCP session also disconnect the SMF and UPF?

No. PFCP Session Deletion targets an individual session. The node-level PFCP association is separate and can continue supporting other sessions between the same control-plane and user-plane functions.

Produk Rekomendasi
Katalog
layanan pelanggan Telepon
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .