Session Management Function [0]

Alternative text

SMF is a Control Plane(CP) function that manages the session-related context with the UPF. It creates, updates, and removes sessions. It also allocates the IP addresses to each PDU session. SMF provides all the session parameters and supports the functions of UPF. SMF functions are collectively performed by MME, SGW-U, and PGW-U in the 4G System. This NF enables CUPS(Control and User Plane Separation) which decentralized the control plane and data forwarding components of the 4G System. It obtained all the rules and policies from the PCF through the N7 interface and routed them to UPF to execute them in the respective sessions.

Interface & Protocols

N4 [11]

Session Management context and necessary parameters are transmitted to the UPF(User Plane Function) from the SMF, once the user plane is setup.

PFCP [24]

Any kind of communication between SMF and UPF is managed by the PFCP(Packet Forwarding Control Protocol). It is one of the main protocols that separates the User Plane and Control Plane.

NAS [15]

SMF uses Non Access Stratum (NAS) signalling messages to communicate with the UE. Both the base station and AMF act as transparent routers for these messages which are relayed between the SMF and UE.

NGAP [16] [18]

The Next-Generation Application Protocol(NGAP) is a Control Plane(CP) protocol signaling between gNB and the AMF. It handles the UE-associated and non-UE-associated services such as handover, sending session-related context, etc.

SBI(Service-based Interface) [25]

Service-Based Interface is the API-based communication between network functions.

Call Flow

Session Establishment

  • PDU session establishment starts with UE and gNB making PDU session establishment request to the AMF and then AMF selecting the best SMF, then AMF making SM context creation request to SMF.

Alternative text
  • [8] PDU session establishment request

  • [19] NRF network function discover

  • [19] NRF search result

  • [25] SBI open

  • [10] SMF initialized

  • [10] Gtp context init

  • [10] Pfcp context init

  • [10] Sbi context init

  • [3] SMF UE add by SUPI or SMF UE pool

  • [22] NSMF create sm context request

  • [22] Sm context create data

  • [22] UE recognition and session recognition using PSI

  • [22] Checks NSSAI

  • [23] Retrieve sm context: dnn config list, ssc mode list, session type, Session AMBR, qos profile

  • [23] UDM send HTTP sm context created

  • [7] Succeeded to get pdu session

  • [7] Pdu session establishment reject

  • SMF then performs the PCF selection to create sm policy association and to get all PCC rules and other things.

Alternative text
  • [21] SM policy control create req

  • [21] PCC rules

  • [21] Qos id

  • [21] Flow info

  • [21] QOS index

  • [21] Data like arp priority level, pre-emption capability

  • [21] Maxbr, gbr for uplink and downlink

  • [21] Npcf policy handle update notify

  • [21] Npcf sm policy termination notify

  • Then there is PFCP session that connects the control plane to the user plane.

Alternative text
  • [3] SMF selects UPF

  • [11] PFCP session establishment req

  • [11] Provides PFCP node ID

  • [11] Set SEID

  • [11] Create and setup PDR

  • [11] Create and setup FAR

  • [11] Create and setup URR

  • [11] Create and setup QER

  • [21] Setup DL PDR, UL PDR, cp2up pdr and up2cp PDR

  • [11] Mbr uplink, mbr downlink

  • [11] Set UE ip address to the default dl pdr

  • [21] Set UPF-n3 TEID

  • [12] PFCP session establishment response

  • [12] Check SEID

  • [12] PFCP cause request accepted else failure

  • [24.0] [7] pfcp state associated

  • [12] SBI status from PFCP

  • [3] Allocate QFI

  • [3] PFCP pool init

  • [13] N1N2 message transfer request data

  • [13] N1 message container

  • [14] N1N2 message transfer response

  • [14] N1N2 message transfer failure notify

Session Modification

Alternative text
  • [7] PDU session modification command

  • [22] NSMF handle update SM context

  • [22] Update UE location and NR location

  • [22] Parse NR location (TAI and CGI)

  • [7] PDU session modification reject

  • [12] N4 handle session modification request

  • [12] Check PDR

  • [12] Check TEID

  • [12] Check PFCP Node and Interface access

  • [12] [22] PFCP modify command

  • [12] PFCP send QOS flow list modify

  • [11] [12] PDR modification

  • [11] [12] QOS flow modification

  • [11] [12] FAR modification

  • [22] SMF send SM context updated data N1 N2 message

  • [14] Update SM context response to AMF

  • [21] SM policy modification request

  • [21] Update authorised PCC rules

  • [21] Update QOS info

  • [21] Response sent

Session Deletion

Alternative text
  • [7] PDU session release command

  • [22] Nsmf handle release sm context

  • [11] N4 session deletion Request

  • [24] Smf pfcp send session deletion request: Delete SM context

  • [11] Remove PDR

  • [11] Remove FAR

  • [11] Remove QER

  • [20] SM policy control deletion

  • [20] SM policy delete data

Handover Procedure

  • The SMF supports the Xn-based and N2-based handover procedures to hand over a UE from a source NG-RAN node to a target NG-RAN node using the Xn or N2 reference points. Initiation of this procedure can be due to new radio conditions, load balancing or due to a specific service.

  • The SMF releases the QoS flows that failed to set up on the target NG-RAN during Xn and N2 handovers on the respective interfaces N4 (UPF) and N1 (UE). The SMF sends appropriate notification to N7 (PCF) based on the triggers if armed. The SMF also sends the usage report to N40 (CHF) for the released QoS flows.

Alternative text
  • [17] Handle handover required transfer

  • [17] Handle resource setup transfer request

  • [17] Resource setup unsuccessful transfer

  • [17] Provides GTP tunnel

  • [17] GTP- TEID

  • [17] Setup FAR

  • [17] Handle path switch request transfer

  • [17] Path switch transfer successful

  • [17] Path switch transfer Failed