Skip to content
Example · O-RAN over NTN

E2 exchange over SCTP

A Near-RT RIC and an E2 agent exchange E2SM-KPM indications and an E2SM-RC control request over a real SCTP or TCP association, using toolkit framing rather than E2AP.

oran-ntn-e2-termination about 60 s on the server
Two-process demo: start one copy with --role=ric and a second with --role=agent on the same port. The dashboard runs one process per job. It runs on a local install. Open the consoleModule page

Parameters (7)

Defaults are the values the browser run form starts from. Pass any of them on the command line as --name=value.

ParameterDefaultUnitDescription
Process role
--role
both-Process role: both (RIC and agent in one process), ric or agent
Proto
--proto
sctp-Transport: sctp or tcp
Bind or connect host
--host
127.0.0.1-Bind or connect host
E2 port
--port
36421-E2 port
RIC listen time
--duration
8sRIC listen time (s)
Indications
--indications
5-Agent: number of RIC indications to send
TR 38.811 UEs in the measured NR pass
--simUes
2-agent: TR 38.811 UEs in the measured NR pass

Reproduce it locally

With the example's built-in defaults, in the public Docker image:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "oran-ntn-e2-termination"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "oran-ntn-e2-termination --role=both --proto=sctp --host=127.0.0.1 --port=36421 --duration=8 --indications=5 --simUes=2"

List every argument with ./ns3 run "oran-ntn-e2-termination --PrintHelp".

More O-RAN over NTN examples

Cite this

If you use this module, please cite the article that describes the toolkit: doi:10.1109/OJCOMS.2026.3745010.

M. Uzair, B. G. Aldahlan, A. A. Albar, H. Althumali and A. Alghammas, "ns3-ntn-toolkit: An integrated ns-3 platform for 6G non-terrestrial networks," IEEE Open Journal of the Communications Society, vol. 7, pp. 13440-13467, 2026, doi: 10.1109/OJCOMS.2026.3745010.

BibTeX
@article{uzair2026ns3ntntoolkit,
  author  = {Uzair, Muhammad and Aldahlan, Bassma G. and Albar, Ali A. and
             Althumali, Huda and Alghammas, Adnan},
  title   = {ns3-ntn-toolkit: An Integrated ns-3 Platform for 6G
             Non-Terrestrial Networks},
  journal = {IEEE Open Journal of the Communications Society},
  volume  = {7},
  pages   = {13440--13467},
  year    = {2026},
  doi     = {10.1109/OJCOMS.2026.3745010}
}