Analisis dan Prediksi Convergence Time Protokol STP dan RSTP pada Topologi Redundant Ring Menggunakan Machine Learning
DOI:
https://doi.org/10.53863/kst.v8i02.2564Kata Kunci:
STP, RSTP, convergence time, machine learningAbstrak
Redundansi jalur pada jaringan Local Area Network (LAN) berbasis switch meningkatkan ketersediaan, tetapi dapat menimbulkan loop jika tidak dikelola dengan baik. Spanning Tree Protocol (STP) dan pengembangannya, Rapid Spanning Tree Protocol (RSTP), mencegah loop dengan memblokir salah satu jalur, sedangkan proses pemulihan setelah kegagalan tautan menentukan durasi gangguan layanan. Penelitian ini mengukur waktu pemulihan konektivitas end-to-end (convergence time terukur) pada topologi ring dengan lima switch dan dua host, serta mengeksplorasi penerapan machine learning untuk memprediksinya. Nilai yang diukur adalah lama ping PC-A ke PC-B terputus, bukan waktu konvergensi internal protokol, sehingga 0 detik berarti tidak ada gangguan pada pasangan host tersebut. Pengujian di Cisco Packet Tracer mencakup lima skenario kegagalan tautan (F1-F5), masing-masing diuji lima kali pada STP dan RSTP (total 50 sampel). Pada tiga skenario yang memutus jalur aktif antar host (F1, F3, F5), rata-rata waktu pemulihan STP adalah 52,0-58,0 detik dan RSTP 7,8-12,6 detik, atau turun 78%-86% (Mann-Whitney U = 225; p < 0,001; n = 15 per mode); pada F2 dan F4, yang tidak dilalui jalur antar host, kedua protokol menghasilkan 0 detik. Dengan validasi silang 5-fold, Decision Tree dan Random Forest menghasilkan R2 0,974 (MAE 1,71 detik), dibandingkan dengan Linear Regression yang menghasilkan R2 0,722 (MAE 11,71 detik). Namun, hasil ini sama dengan pembanding sederhana berupa rata-rata per kelompok skenario dan mode (R2 0,974), sehingga analisis machine learning bersifat eksploratif dan belum menunjukkan keunggulan atas pembanding tersebut.
Referensi
Abedin, T., Xu, H., & Uddin, S. (2026). The impact of K selection in K ‑ fold cross-validation on bias and variance in supervised learning models. 1–13.
Alfian, T., Sandi, A., Anwar, R. S., & Fauzi, A. (2023). Analisis Performa Redundancy Link Menggunakan Metode Spanning Tree Protocol Dan Per VLAN Spanning Tree. 5(1), 47–52.
Ali, M. H. (2025). Dynamic Fast Convergence Improvement using Predictive Network Analysis. 17(1), 1–19.
Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324
Breiman, L., Friedman, J. H., Olshen, R. A., & Stone, C. J. (1984). Classification and regression trees. Wadsworth.
Cisco Systems. (n.d.-a). Spanning tree from PVST+ to Rapid-PVST migration configuration example. https://www3-realm.cisco.com/en/US/products/hw/switches/ps708/products_configuration_example09186a00807b0670.shtml
Cisco Systems. (n.d.-b). Troubleshoot STP problems & related design considerations. https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/10556-16.html
Cisco Systems. (n.d.-c). Understand and configure Spanning Tree Protocol (STP) on Catalyst switches. https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/5234-5.html
Cisco Systems. (n.d.-d). Understand and tune Spanning Tree Protocol timers. https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/19120-122.html
Cisco Systems. (n.d.-e). Understand Multiple Spanning Tree Protocol (802.1s). https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/24248-147.html
Cisco Systems. (n.d.-f). Understand Rapid Spanning Tree Protocol (802.1w). https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/24062-146.html
Creswell, J. W., & Creswell, J. D. (2018). Research design: Qualitative, quantitative, and mixed methods approaches (5th ed.). SAGE Publications.
Dunn, O. J. (1961). Multiple comparisons among means. Journal of the American Statistical Association, 56(293), 52–64. https://doi.org/10.1080/01621459.1961.10482090
Em, S. (2024). Exploring Experimental Research : Methodologies , Designs , and Applications Across Disciplines. March, 1–9.
Hamdani, M., Irawan, D., Kusuma, A. A. N. A., Agastani, T., & Iqbal, M. (n.d.). Preliminary Assessment of Using Spanning Tree Open Protocols in INA-CBT Communication System. In The 2022 International Conference on Computer, Control, Informatics and Its Applications (IC3INA 2022), November 22â•fi23, 2022, Virtual Event, Indonesia (Vol. 1, Issue 1). Association for Computing Machinery. https://doi.org/10.1145/3575882.3575884
Harahus, M., Čavojský, M., Bugár, G., & Pleva, M. (2023). Interactive network learning: An assessment of EVE-NG platform in educational settings. Acta Electrotechnica et Informatica, 23(3), 3–9. https://doi.org/10.2478/aei-2023-0011
Hastie, T., Tibshirani, R., & Friedman, J. (2009). The elements of statistical learning: Data mining, inference, and prediction (2nd ed.). Springer. https://doi.org/10.1007/978-0-387-84858-7
IEEE. (1998). Information technology—Telecommunications and information exchange between systems—Local and metropolitan area networks—Common specifications—Part 3: Media access control (MAC) bridges (ANSI/IEEE Std 802.1D, 1998 ed.). IEEE.
IEEE. (2002). IEEE standard for local and metropolitan area networks—Virtual bridged local area networks—Amendment 3: Multiple spanning trees (IEEE Std 802.1s-2002). IEEE.
IEEE. (2004). IEEE standard for local and metropolitan area networks: Media access control (MAC) bridges (IEEE Std 802.1D-2004). IEEE. https://doi.org/10.1109/IEEESTD.2004.94569
Indrianingsih, Y., Wintolo, H., & Saputri, E. Y. (2021). Spanning Tree Protocol ( STP ) Based Computer Network Performance Analysis on BPDU Config Attacks and Take Over Root Bridge Using the Linear Regression Method. 6(2), 155–162. https://doi.org/10.15575/join.v6i2.703
James, G. (2024). Sciences Analysis of support vector machine and random forest models for predicting the scalability of a broadband network. 6, 1–10.
Khan, N., Koubaa, A., Khan, Z., Khurram, M., & Ali, I. (2023). Data plane failure and its recovery techniques in SDN : A systematic literature review. Journal of King Saud University - Computer and Information Sciences, 35(3), 176–201. https://doi.org/10.1016/j.jksuci.2023.02.001
Kohavi, R. (1995). A study of cross-validation and bootstrap for accuracy estimation and model selection. In Proceedings of the 14th International Joint Conference on Artificial Intelligence (IJCAI-95) (Vol. 2, pp. 1137–1143). Morgan Kaufmann.
Kruskal, W. H., & Wallis, W. A. (1952). Use of ranks in one-criterion variance analysis. Journal of the American Statistical Association, 47(260), 583–621. https://doi.org/10.1080/01621459.1952.10483441
Louppe, G., Wehenkel, L., Sutera, A., & Geurts, P. (2013). Understanding variable importances in forests of randomized trees. In Advances in Neural Information Processing Systems 26 (pp. 431–439). Curran Associates.
Malekzadeh, M. (2023). Performance prediction and enhancement of 5G networks based on linear regression machine learning. EURASIP Journal on Wireless Communications and Networking. https://doi.org/10.1186/s13638-023-02282-z
Mann, H. B., & Whitney, D. R. (1947). On a test of whether one of two random variables is stochastically larger than the other. The Annals of Mathematical Statistics, 18(1), 50–60. https://doi.org/10.1214/aoms/1177730491
Mauro, M. Di, Cerroni, W., Postiglione, F., Tornatore, M., & Trivedi, K. S. (2026). Reliability and Availability in Virtualized Networks : A Survey on Standards , Modeling Approaches , and Research Challenges. IEEE Communications Surveys & Tutorials, 28, 5121–5158.
Nasr, A., & Ahmed, N. A. S. (2026). ةينقتلاو مولعلل دئارلا ةلجم Comparative Review of STP , RSTP , and PVST Protocols : Loop Prevention in Layer 2 Networks ةينقتلاو مولعلل دئارلا ةلجم. 3(1), 104–120.
Papan, J., Chovanec, T., Bridova, I., & Kvet, M. (2024). THE NEW LABEL BIT REPAIR FAST REROUTE MECHANISM. IEEE Access, PP, 1. https://doi.org/10.1109/ACCESS.2024.3379150
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., & Duchesnay, É. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830.
Perlman, R. (1985). An algorithm for distributed computation of a spanning tree in an extended LAN. ACM SIGCOMM Computer Communication Review, 15(4), 44–53. https://doi.org/10.1145/318951.319004
Rashid, R. A., Abd, D. F., Othman, D. A., & Abdulqader, H. (2024). Performance Evaluation using Spanning Tree Protocol , Rapid Spanning Tree Protocol , Per-VLAN Spanning Tree , and Multiple Spanning Tree. 8(1). https://doi.org/10.21928/uhdjst.v8n1y2024.pp20-30
Roberts, D. R., Bahn, V., Ciuti, S., Boyce, M. S., Elith, J., Guillera-Arroita, G., Hauenstein, S., Lahoz-Monfort, J. J., Schröder, B., Thuiller, W., Warton, D. I., Wintle, B. A., Hartig, F., & Dormann, C. F. (2017). Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography, 40(8), 913–929. https://doi.org/10.1111/ecog.02881
Su, J. (2024). ScienceDirect Construction of a Computer Network Performance Prediction Optimization Model Based on Machine Learning Algorithms. Procedia Computer Science, 243, 364–371. https://doi.org/10.1016/j.procs.2024.09.045
Taufan, M., Zaen, A., & Tantoni, A. (2022). Topologi Redundansi Link Untuk Keamanan Serta Mitigasi Ketersediaan Jaringan Komputer Menggunakan Rapid Spanning Tree Protocol. 4(1), 88–100. https://doi.org/10.47065/josyc.v4i1.2336
Tudoroiu, A. (2025). EVOLUTION OF SPANNING TREE PROTOCOL : FROM STP TO SPB AND TRILL – A COMPARATIVE ANALYSIS. 30–35. https://doi.org/10.2478/sbeef-2025-0018
Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., . . . SciPy 1.0 Contributors. (2020). SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nature Methods, 17(3), 261–272. https://doi.org/10.1038/s41592-019-0686-2
Willmott, C. J., & Matsuura, K. (2005). Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance. Climate Research, 30(1), 79–82. https://doi.org/10.3354/cr030079
Zhang, R., & Fan, L. (2025). Research on Self-Diagnosis and Self-Healing Technologies for Intelligent Fiber Optic Sensing Networks. 1–15.
Unduhan
Diterbitkan
Cara Mengutip
Terbitan
Bagian
Lisensi
Hak Cipta (c) 2026 Fitriani Ramadhani, Zidan Abdul Jabar Saka, Bambang Sugiantoro

Artikel ini berlisensiCreative Commons Attribution-ShareAlike 4.0 International License.
Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike 4.0 International License that allows others to share the work with an acknowledgment of the work’s authorship and initial publication in this journal















