4G EPC had interfaces. 5G Core has a service mesh

The shift to Service-Based Architecture (SBA) is the most fundamental change in core network design since GPRS. Here’s the complete technical deep dive:

:building_construction: What Is SBA? (3GPP TS 23.501):
β†’ All NFs expose and consume services via HTTP/2 REST APIs
β†’ NFs register in NRF (Network Repository Function) β€” service discovery
β†’ Any NF can call any other NF directly (no fixed topology)
β†’ Fully cloud-native: containerised (K8s), stateless where possible
β†’ Inter-NF interface naming: N{provider} β€” e.g., Namf, Nsmf, Nudm

:clipboard: Complete 5G Core NF Reference Map:
β†’ AMF (Access & Mobility Mgmt Function): NAS, mobility, paging
β†’ SMF (Session Mgmt Function): PDU session, IPAM, UPF selection
β†’ UPF (User Plane Function): data forwarding, QoS, traffic detection
β†’ UDM (Unified Data Mgmt): subscriber profile, key storage
β†’ AUSF (Auth Server Function): AKA authentication, KAUSF derivation
β†’ PCF (Policy Control Function): policy rules, QoS authorisation
β†’ NRF (Network Repository Function): NF registration & discovery
β†’ NSSF (Network Slice Selection): NSSAI β†’ AMF/SMF mapping
β†’ NEF (Network Exposure Function): external API exposure (CAMARA/NEF)
β†’ NWDAF (Network Data Analytics): AI/ML analytics, load prediction
β†’ SMSF (SMS Function): SMS over NAS delivery
β†’ AF (Application Function): enterprise/OTT app interface to PCF/NEF

:electric_plug: Key 5G Core Reference Points vs SBA:
β†’ N1: UE ↔ AMF (NAS β€” Non-Access Stratum signalling)
β†’ N2: gNB ↔ AMF (NGAP β€” NG Application Protocol)
β†’ N3: gNB ↔ UPF (GTP-U β€” user plane tunnel)
β†’ N4: SMF ↔ UPF (PFCP β€” Packet Forwarding Control Protocol)
β†’ N6: UPF ↔ Data Network (Internet / enterprise LAN)
β†’ N9: UPF ↔ UPF (for UPF chaining in slicing)
β†’ N11: AMF ↔ SMF (SBA: Nsmf_PDUSession)
β†’ N8/N10: AMF/SMF ↔ UDM (subscriber data retrieval)

:bar_chart: PDU Session Establishment β€” Key Message Flow:
UE β†’ AMF: NAS PDU Session Establishment Request
AMF β†’ SMF: Nsmf_PDUSession_CreateSMContext
SMF β†’ UDM: Nudm_SDM_Get (subscription data)
SMF β†’ PCF: Npcf_SMPolicyControl_Create (policy)
SMF β†’ UPF: N4 Session Establishment (PFCP)
SMF β†’ AMF: N1N2MessageTransfer
AMF β†’ gNB: N2 PDU Session Resource Setup
gNB β†’ UE: RRC Reconfiguration + NAS PDU Session Accept

5G Core SBA is not just architecture elegance. It’s what enables slicing, CAMARA APIs, AI analytics, and cloud-native operations at carrier scale.

LinkedIn: :backhand_index_pointing_down:

1 Like