Through this article, our research professionals have depicted step by step process to run TCL files in the network simulator 3.
Step: 1 Download Ns3
As a start, we have to download the packages based on ns-3.28 through the below mentioned URL.
![Download Ns3 Packages](https://ns3simulation.com/wp-content/uploads/2023/01/download-url-for-ns-allinone-3.28.tar.bz2_.png)
Step: 2 Configure Ns3
Then, we have to configure the packages of ns-3.28 through the implementation of the following commands in the terminal.
tar jxfv ns-allinone-3.28.tar.bz2
cd ns-allinone-3.28/ns-3.28
![Changing the Location](https://ns3simulation.com/wp-content/uploads/2023/01/change-the-location-for-the-process-in-for-ns-allinone-3.28.tar.bz2_.png)
./waf configure –enable-examples
![](https://ns3simulation.com/wp-content/uploads/2023/01/execute-the-command-for-configure-in-for-ns-allinone-3.28.png)
Step: 3 Main File Creation
Consequently, we have to create the main file in the scratch folder and the TCL file is functioning through the trace file configuration.
![Creation of Main File](https://ns3simulation.com/wp-content/uploads/2023/01/ns2-based-main-file.png)
![](https://ns3simulation.com/wp-content/uploads/2023/01/ns2-tcl-trace-file.png)
Step: 4 Main File Execution
Finally, the main file is executed through the implementation of the below mentioned commands.
sudo ./waf –run Main –vis
![Implementation of Main File](https://ns3simulation.com/wp-content/uploads/2023/01/execute-the-command-for-run-the-simulation-in-for-ns-allinone-3.28.png)
At last, you guys can just make a call to us to acquire more research assistances.