The Importance of Using SDN with 5G Networks

The 5G Core network is built on the Service-Based Architecture (SBA) concept,
while SDN (Software Defined Networking) is based on the separation of the Control Plane and Data Plane.

:small_orange_diamond: Therefore, the interaction between them happens only at the Control Plane level.
That means the SDN Controller does not directly connect to the SBA interfaces — instead, it manages the data path through APIs.

:one: SDN Controller ↔ SMF Interface
:bullseye: Purpose:
• Enable the SMF to select or create the proper data path through SDN (e.g., create GTP-U paths between gNB and UPF).
• Used during UE relocation to another UPF.
• Update QoS policies dynamically.

:two: SDN Controller ↔ PCF Interface
:bullseye: Purpose:
• Retrieve QoS policies from the PCF and apply them on the actual network level.
:puzzle_piece: Example:
The PCF sends: Delay ≤ 10 ms , Bandwidth ≥ 5 Mbps
:down_arrow:
The SDN Controller translates these policies into Flow Rules (routing or priority rules).
:down_arrow:
Then it sends them to the UPF via the OpenFlow interface.

:three: SDN Controller ↔ NEF / AF Interface
:bullseye: Purpose:
• Allow applications (AF) to request custom paths or QoS levels.
• The SDN Controller provides the optimal path with the lowest delay between the car and the MEC broker.
:automobile::dashing_away: This is crucial in Car IoT and MEC scenarios.
Because the application must control the path based on location or real-time conditions.

:four: SDN Controller ↔ UPF Interface
:bullseye: Purpose:
• Program or modify Flow Rules inside the UPF.
• Apply SMF policies directly in the Data Plane.

Practical Example: Car Handover from Tripoli to Misurata :automobile:
:small_blue_diamond: The car moves from Tripoli MEC to Misurata MEC.
:small_blue_diamond: The SMF reports the new location (TAI) to the AMF.
:small_blue_diamond: The SMF requests new area policies (QoS) from the PCF.
:small_blue_diamond: The PCF replies: “Use UPF-Misurata + keep the same QoS.”
:small_blue_diamond: The SMF instructs the SDN Controller to update the data path.
:small_blue_diamond: The SDN Controller sends new Flow Rules to the UPF via OpenFlow.
:small_blue_diamond: The AF transfers the MQTT session to maintain the connection at the application layer.
:small_blue_diamond: The NEF notifies the AF that the session will move to the new MQTT Broker in Misurata.
:small_blue_diamond: The AF connects to the new broker — session migration happens smoothly.
:white_check_mark: Result:
The MQTT session continues without any noticeable interruption to the user. :rocket:

:white_check_mark: Summary:
:small_blue_diamond: SDN links network policies (SMF/PCF) with applications (AF/NEF) and data paths (UPF).
:small_blue_diamond: Ensures dynamic flexibility and service continuity, especially in MEC and Car IoT scenarios.
:small_blue_diamond: SMF maintains the session at the network level.
:small_blue_diamond: AF (MQTT Broker) maintains the session at the application level.

LinkedIn: :backhand_index_pointing_down: