Encyclopedia
2026-09-11 16:57:58
Initial Registration Procedure with AMF Re-allocation in the 5GC Core Network
5GC AMF re-allocation occurs when the initially selected AMF cannot serve the UE‘s required network slice. This analysis explains gNB selection, NSSF decisions, Target AMF Set, NAS rerouting and registration completion.

Becke Telcom

Initial Registration Procedure with AMF Re-allocation in the 5GC Core Network

A Registration Request has already reached an AMF, so why would the serving AMF still need to change while registration is in progress? Does this mean the gNB selected the wrong AMF? If the UE does not include a Requested NSSAI in the Registration Request, at what point can the network determine which network slice the UE actually needs? These questions point to a special branch of 5GC Initial Registration: AMF re-allocation. In engineering discussions this is often described as "AMF reselection," while in the 3GPP procedure it is more accurately treated as a re-allocation of the AMF during registration.

The key difference between AMF re-allocation and a normal Initial Registration is not an additional authentication procedure or a load-balancing-driven AMF change. Instead, the Initial AMF obtains more complete subscription and slice information, determines that it cannot serve the S-NSSAI ultimately required by the UE, invokes the NSSF to identify an appropriate AMF service scope, and then transfers the registration procedure to a Target AMF.

The most useful way to understand this signaling flow is not to memorize the step number at which the AMF changes. Instead, follow three successive decision points: what information the gNB has when it makes the first AMF selection, what additional information the Initial AMF learns during registration, and what criteria the NSSF ultimately uses to steer the UE toward a new serving AMF.

When Is AMF Re-allocation Triggered?

Initial Registration with AMF re-allocation is not the default path for every 5GC registration. Its trigger conditions are specific: Network Slicing is deployed, and the AMF that initially receives the Registration Request cannot serve the network slice ultimately required by the UE.

In a normal registration scenario, the Initial AMF selected by the gNB already supports the required S-NSSAI. Identity handling, authentication, subscription-data retrieval and Registration Accept can therefore remain on the same AMF throughout the procedure.

Re-allocation becomes necessary only when information obtained later in the procedure shows that the current AMF does not match the slice the UE is allowed to use or is expected to use by default. The logic can be summarized as:

Registration Request reaches the Initial AMF
           → Initial AMF performs the required registration processing
           → Complete UE subscription and slice information is obtained
           → Initial AMF determines that it cannot serve the target S-NSSAI
           → NSSF is invoked to determine the appropriate service scope
           → Registration is transferred to the Target AMF

One common misunderstanding should be avoided: the appearance of two AMFs in the same registration trace does not automatically mean that the original AMF failed or that AMF Pool load balancing occurred. In this procedure, the actual trigger is a mismatch between the current AMF's Slice Serving Capability and the network slice ultimately required by the UE.

Why Can the gNB Initially Select an Unsuitable AMF?

When first examining AMF re-allocation, it is easy to assume that the gNB made a mistake. If different AMFs serve different slices, why does the RAN not send the UE directly to the correct AMF from the beginning?

The main reason is that the gNB may not have enough information when it performs the initial AMF selection. Consider a connected vehicle powering on for the first time with a 5G USIM subscribed to two network slices:

  • eMBB slice (S-NSSAI1): used for in-vehicle infotainment and general data services;

  • V2X slice (S-NSSAI3): used for vehicle-to-everything and automated-driving-related services.

Assume the subscriber's Default S-NSSAI is the V2X slice, but the UE is entering the 5GS for the first time, has no valid 5G-GUTI, and does not include a Requested NSSAI in the Registration Request. At this point, the gNB has no direct basis for knowing that the UE should ultimately be served by the AMF associated with the V2X slice.

Under normal conditions, the gNB can use information such as the GUAMI, the S-NSSAI requested by the UE and its local AMF configuration when selecting an AMF. In this scenario, however, both the GUAMI and Requested NSSAI are unavailable, so the gNB can only select an Initial AMF using the information it currently has and its local default selection policy.

If the gNB initially selects AMF1, which serves the eMBB slice, the Registration Request is carried to AMF1 in an NGAP Initial UE Message.

The fact that this AMF does not match the UE's final slice requirement does not necessarily indicate a gNB configuration error. A more accurate interpretation is: when the first AMF selection occurs, the RAN does not yet have enough information to determine the UE's final Slice-specific AMF.

5GC Initial Registration where the UE has no 5G-GUTI and the Registration Request does not include Requested NSSAI, causing the gNB to select an Initial AMF using available information and default configuration
5GC Initial Registration where the UE has no 5G-GUTI and the Registration Request does not include Requested NSSAI, causing the gNB to select an Initial AMF using available information and default configuration

How Does the Initial AMF Detect the Slice Mismatch?

When the Registration Request reaches the Initial AMF, the AMF does not immediately query the NSSF. At this point it still lacks enough subscriber information to determine whether it is the correct final serving AMF.

The AMF first follows the normal Initial Registration logic and performs the required procedures, including UE identity handling, AUSF selection, 5G-AKA Authentication and the related NAS security procedures.

A key result of this stage is that the AMF confirms the UE identity and obtains the SUPI. With the SUPI available, the Initial AMF can locate the appropriate UDM and retrieve the UE's Access and Mobility Subscription Data.

At this stage, the network has substantially more information than it had when the Registration Request first arrived. The subscription data returned by the UDM can include the subscriber's Subscribed NSSAI and Default S-NSSAI.

Continuing the connected-vehicle example, the Initial AMF belongs to the eMBB service domain, but the subscription data shows that the UE is subscribed to both eMBB and V2X, with the Default S-NSSAI pointing to V2X, or S-NSSAI3.

The Initial AMF can now reach a conclusion that the gNB could not make earlier: although it was able to receive and begin processing the Initial Registration, it is not the appropriate AMF to provide ongoing service for the UE's default V2X slice. This determination becomes the trigger point for AMF re-allocation.

gNB stage: only limited access information is available
           → Initial AMF stage: UE identity is confirmed
           → UDM stage: actual subscribed NSSAI information is obtained
           → Current AMF is found to be incompatible with the target slice

AMF re-allocation is therefore not an arbitrary change of decision halfway through registration. It occurs because the core network can make a more accurate serving-AMF decision once the subscriber identity and slice information become complete.

How Does the NSSF Identify the New Serving AMF?

Once the Initial AMF determines that it cannot serve the target slice, it does not simply choose another AMF on its own. Instead, it invokes the Network Slice Selection Function, or NSSF.

The Initial AMF uses the Nnssf_NSSelection service to request Network Slice Selection. Inputs can include the UE's subscribed S-NSSAI, information about the current AMF and the UE's current TAI. The purpose is to determine which slices are authorized in the current registration area and which AMF set should provide service.

The Authorized Network Slice Information returned by the NSSF may include:

  • Allowed NSSAI: the network slices the UE is authorized to use under the current conditions;

  • Configured NSSAI: slice configuration that may be provided to the UE when required;

  • Target AMF Set: the set of AMFs capable of serving the relevant network slice;

  • Rejected NSSAI: slices that cannot be accepted under the current TA or related conditions.

It is important to distinguish between a Target AMF Set and a Target AMF. The NSSF's first responsibility is to determine which AMF set is appropriate, narrowing the candidate scope according to slice and location conditions rather than simply returning the address of one specific AMF.

After obtaining the Target AMF Set, the Initial AMF can use NF instance information registered in the NRF to retrieve the addresses, capabilities, weights and operational status of AMFs within that set. It can then determine which specific Target AMF should take over the Registration.

The relationship can be summarized as:

UDM: provides the UE's slice subscription information
           → Initial AMF: determines that its own serving capability does not match
           → NSSF: determines the authorized slices and Target AMF Set
           → NRF: provides available AMF instance information within the set
           → Initial AMF: selects the Target AMF

The role of the NSSF in this procedure is not conventional load balancing. It maps a Slice Requirement to an AMF service scope capable of supporting that requirement.

Initial AMF in the 5GC invokes the NSSF using the UE's subscribed S-NSSAI and TAI, receives Allowed NSSAI and a Target AMF Set, and then uses NRF information to determine the Target AMF
Initial AMF in the 5GC invokes the NSSF using the UE's subscribed S-NSSAI and TAI, receives Allowed NSSAI and a Target AMF Set, and then uses NRF information to determine the Target AMF

How Is the Registration Request Transferred to the Target AMF?

After the Target AMF has been determined, the UE does not need to send a completely new Registration Request. The network only needs to transfer the registration procedure already in progress, together with the required context, so that the new AMF can continue processing it.

Two forwarding mechanisms are available: indirect forwarding through the gNB, or direct forwarding between the Initial AMF and Target AMF.

Indirect Forwarding Through the gNB

With indirect forwarding, the Initial AMF sends an NGAP Reroute NAS Request to the gNB. The message carries information associated with the original Initial UE Message as well as the Target AMF Set ID, instructing the NG-RAN to reroute the current NAS Registration message.

The gNB then sends a new Initial UE Message to the Target AMF containing the original Registration Request NAS-PDU. The control-plane path can be represented as:

UE → gNB → Initial AMF → Reroute NAS Request → gNB → Target AMF

The UE does not need to perform RRC access again. The NG-RAN simply reroutes the existing Registration NAS message to the appropriate AMF.

Direct Forwarding Between AMFs

With direct forwarding, the Initial AMF does not send the message back through the gNB. Instead, it transfers the N1 message and Registration Context directly to the Target AMF through the 5GC service-based interface.

The Initial AMF invokes Namf_Communication_N1MessageNotify and sends the complete Registration Request together with the Registration Context Container to the Target AMF.

The transferred information is not limited to a single NAS message. The Registration Context can also include UE Context, Access Type, gNB information, User Location, Allowed NSSAI, Configured NSSAI, Rejected NSSAI and other information needed to continue registration processing.

UE → gNB → Initial AMF → Namf_Communication_N1MessageNotify → Target AMF

The signaling paths are different, but the objective is the same: the Target AMF receives the NAS message and context needed to continue Registration without restarting the entire Initial Registration procedure.

After taking over, the Target AMF completes the remaining registration processing and returns a Registration Accept to the UE. The response reflects the results of slice selection and AMF re-allocation and may include Allowed NSSAI, Configured NSSAI, Rejected NSSAI and a newly assigned 5G-GUTI.

From the UE's perspective, the important result is that registration succeeds and the network provides the slices available in the current area together with the new 5GS mobility context. The internal change of serving AMF remains transparent to the UE.

During 5GC AMF re-allocation, the Initial AMF can use NGAP Reroute NAS Request for indirect forwarding through the gNB or Namf Communication N1MessageNotify to transfer the Registration Request directly to the Target AMF
During 5GC AMF re-allocation, the Initial AMF can use NGAP Reroute NAS Request for indirect forwarding through the gNB or Namf Communication N1MessageNotify to transfer the Registration Request directly to the Target AMF

How Can You Verify AMF Re-allocation in a Signaling Trace?

Initial Registration with AMF re-allocation can easily be mistaken for abnormal registration routing or a failed first AMF selection. A more effective troubleshooting method is not to compare message numbers one by one, but to follow two main threads: slice determination and context transfer.

A normal signaling sequence should allow the engineer to answer the following questions:

Why did the Registration Request first reach this Initial AMF?
           → Where did the Initial AMF obtain the UE's Subscribed / Default NSSAI?
           → What caused the AMF to determine that it could not continue serving the UE?
           → Which Target AMF Set did the NSSF return?
           → Which specific Target AMF was ultimately selected?
           → Which path was used to transfer the Registration Context?

If the Initial AMF has already obtained the slice subscription information and determined that it cannot serve the UE, but no NSSF selection procedure follows, the investigation should focus on NSSF discovery, the Nnssf_NSSelection request and the related Slice configuration.

If the NSSF returns a Target AMF Set but no specific Target AMF can be identified, the next checks should include the AMF Set configuration, NF Profiles in the NRF, AMF instance status and capability information.

If an NGAP Reroute NAS Request is present but the Target AMF never receives the new Initial UE Message, the troubleshooting focus should shift from slice selection to NAS rerouting at the gNB and N2 reachability toward the Target AMF.

If direct forwarding is used, the trace should be checked for Namf_Communication_N1MessageNotify and the Registration Context rather than waiting for a Reroute NAS Request that will not appear in that path.

Looking at the full procedure, AMF re-allocation solves a specific problem: the information available during the first AMF selection is incomplete, and the core network later corrects the serving-AMF decision after obtaining complete subscriber identity and slice-subscription information.

When the UE first enters the network, the gNB may only have limited GUAMI information, Requested NSSAI information or its default AMF configuration. After authentication and subscription retrieval, the 5GC can finally determine which slices the subscriber is authorized to use. The NSSF then converts the Slice Requirement into a Target AMF Set, while the NRF helps identify the actual AMF instance that can continue the Registration.

The most useful question when analyzing this signaling flow is therefore not "Why did the AMF change halfway through registration?" but rather: At what point did the network finally obtain enough information to determine which AMF should continue serving the UE?

FAQ

Is AMF Re-allocation the Same as Load Balancing in an AMF Pool?

No. AMF Pool load balancing generally focuses on capacity, weighting and high-availability distribution among multiple AMF instances. In this procedure, AMF re-allocation is driven by the fact that the Initial AMF cannot serve the network slice ultimately required by the UE. Both mechanisms may result in a different serving AMF, but the trigger conditions and signaling logic are fundamentally different.

Does Every Network Slicing Deployment Require NSSF Selection and AMF Re-allocation?

No. Even when Network Slicing is deployed, AMF re-allocation is unnecessary if the AMF initially selected by the gNB can already serve the slice ultimately required by the UE. Re-allocation is a conditional branch of registration, not a mandatory step for every sliced network.

Can the UE Directly Detect That the AMF Changed During Registration?

From the UE's perspective, the main concern is whether Registration succeeds and which Allowed NSSAI, Configured NSSAI, Rejected NSSAI and 5G-GUTI values are returned by the network. AMF re-allocation and Registration Context transfer are internal 5GC control procedures and are largely transparent to the UE.

Is Indirect or Direct Forwarding Always More Common?

No universal conclusion can be drawn from the procedure definition alone. The mechanism used depends on the 5GC deployment architecture, vendor implementation, service-based communication capabilities between AMFs, and RAN and core-network configuration. Actual troubleshooting should follow the signaling path observed in the live network.

Recommended Products
catalogue
customer service Phone
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 .