LTE-5G-ORAN

5G UE Registration and Attach Procedure: Step-by-Step Guide and AMF Selection Criteria

Advertisements

In 5G, UE registration is a critical process that establishes the UE’s presence on the network, authorizes it for services, and enables mobility tracking.The 5G Attach procedure (also called the Registration procedure in 5GC architecture) is a critical process through which a UE connects to a 5G Standalone network, registers itself with the core, and obtains access to data services. It includes RRC establishment, NAS registration, authentication, security setup, and PDU session configuration. The following sections explain the entire flow post-RACH.

Registration serves several purposes:

  • Initial Access: Allows UEs to connect to the 5G network for the first time.
  • Mobility Management: Updates network information as the UE moves between Tracking Areas (TAs).
  • Capability Updates: Informs the network of any changes to the UE’s capabilities or supported protocols.
  • Periodic Updates: Maintains a connection with the network during periods of inactivity.
  • Emergency Registration: Enables limited service access for emergency situations.

Once RRC connection is established, the UE sends its first NAS message.

The UE initiates communication with the network, signalling its intent to register and receive services.The UE sends RRCSetupComplete along with an embedded NAS Registration Request in the dedicatedNAS-Message container.

This message includes critical identification and subscription information:

  • Registration Type (e.g., initial registration, periodic, mobility-triggered)
  • UE identity (SUCI or GUTI)
  • Requested NSSAI (slicing info)
  • UE Capabilities
  • Optionally, a list of PDU sessions to be activated

This is the first NAS message sent towards the 5GC.

The gNB forwards the NAS Registration Request to the AMF using NGAP Initial UE Message.

This message includes:

  • RAN UE NGAP ID (assigned by gNB)
  • NAS-PDU (Registration Request)
  • UE location information, and
  • RRC Establishment Cause

It represents the UE’s context from the RAN point of view and enables AMF selection and session anchoring.

If the UE was previously registered elsewhere, the new AMF retrieves context from the old AMF using UEContextTransferRequest.
This includes transfer of:

  • SUPI (permanent ID), PEI
  • Last known TAI
  • Radio capabilities and other session state
    The new AMF stores this information for continuity and optimization.

If identity is not available or verification is needed, AMF sends a NAS Identity Request. The UE responds with Identity Response.
UE typically provides SUCI (encrypted SUPI) to protect privacy. This helps the AMF verify the subscriber securely.

  • Authentication method (5G AKA or EAP-AKA’)
  • Random challenge (RAND)
  • Authentication token (AUTN)

AMF initiates authentication with NAS Authentication Request, and the UE replies with Authentication Response.
The UE computes a response using its stored credentials and compares the received AUTN to authenticate the network. A correct RES* is sent to the AMF for validation.

  • Registers itself with UDM
  • Retrieves:
    • Access & Mobility Subscription Data
    • SMF Selection Data
    • UE Context in SMF

This phase ensures that all policies, slices, and session configuration parameters are aligned between AMF, UDM, and SMF.

AMF contacts the PCF using Npcf_AMPolicyControl_Create to create a policy association for the UE.
This step ensures that appropriate access, mobility, and charging policies are enforced. PCF also subscribes to events like handovers, location changes, etc.

If PDU Sessions were requested, the AMF initiates session creation with the SMF.
SMF:

  • Allocates UE IP address
  • Selects User Plane Function (UPF)
  • Sets up a session using PFCP (Packet Forwarding Control Protocol) with the UPF

Downlink data is buffered at UPF until the UE is ready.

The AMF sends this NGAP message to the gNB. It contains:

  • AMF UE NGAP ID
  • PDU Session Resource Setup List
  • NAS Registration Accept
  • Security keys and UE capabilities


This message tells the gNB how to configure user plane resources for the UE.

gNB and UE perform AS-level security setup including:

  • Derivation of K-gNB
  • Setup of integrity and encryption keys


After SecurityModeComplete, ciphering and integrity protection start for RRC messages.

The gNB sends RRCReconfiguration to:

  • Setup DRBs for user data
  • Add secondary cells (if dual connectivity)
  • Trigger measurement reporting
  • Deliver NAS Registration Accept

UE confirms with RRCReconfigurationComplete.

UE sends Registration Complete NAS message to AMF.
This signals successful completion of the entire registration flow and confirms UE is fully onboarded.

  • UE begins sending data (via Uplink TEID)
  • Downlink data from UPF is delivered using Downlink TEID
  • PFCP session modification is finalized

After all these steps, the UE is:

  • Ready for data exchange via the UPF
  • Fully authenticated and secure
  • Registered with the 5G Core
  • Assigned IP address and bearer

RRC Inactive Assistance Information: This can be provided to the RAN to help it manage the UE’s radio resources when inactive.

Network Slicing Subscription Changes: If the UDM indicates changes in the UE’s network slicing subscription, the AMF informs the UE, which then updates its local configuration

Reference : LinkedIn

5GUERegistration #5GInitialAccess #5GNetworkMobility #5GCapabilityUpdates #5GPeriodicUpdates #5GEmergencyRegistration #5GAMFSelection #5GSecuritySetup #5GAuthentication #5GNetworkSlicing #5GPDUUpdates #5GPolicyManagement #5GConnectivity #5GNR #5GProtocol

Leave a ReplyCancel reply

Discover more from Techlteworld

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%