PROTECTION AGAINST RSTP ATTACKS USING ROOT GUARD ON L2+ DEVICES
Abstract
The article examines an educational scenario involving a change of the root bridge in a switched network and the use of Root Guard to restrict that change. The aim is to interpret the available laboratory observations and describe a verifiable configuration procedure rather than compare equipment performance. The test setup includes workstations, Cisco 2960 SI and Eltex MES1428 switches, and a MikroTik device. Yersinia is used to generate control traffic. The paper preserves connection diagrams, address components of root identifiers before and after the reported intervention, individual ping responses, and console fragments. These materials describe particular node states, but do not establish a synchronized sequence for all events. A second table reports unchanged root addresses when protection was enabled. This is treated as a limited observation because the available evidence does not include complete configuration logs or protected port state transitions. Documented Root Guard behavior is distinguished from experimental observations. Cisco IOS and RouterOS configuration examples are accompanied by explicit applicability conditions and are not presented as commands executed in the reported trial. Recovery time, processor utilization, interruption duration, and packet loss during protective blocking were not measured. The practical contribution is a structured distinction between the baseline state, intervention, root identifier check, and protected port state check. The conclusions apply to the educational case and do not establish universal protection against Layer 2 attacks.
Online viewer
References
- IEEE 802.1 Working Group. (n.d.). 802.1w — Rapid Reconfiguration of Spanning Tree. https://www.ieee802.org/1/pages/802.1w.html
- Cisco Systems. (2023). Understand Rapid Spanning Tree Protocol (802.1w). https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/24062-146.html
- Cisco Systems. (2026). Enhance STP with Root Guard. https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/10588-74.html
- Yersinia developers. (n.d.). Yersinia: A framework for layer 2 attacks. https://github.com/tomac/yersinia
- Kali Linux. (n.d.). Yersinia. https://www.kali.org/tools/yersinia/
- Cisco Systems. (2022). Understand STP Loop Guard and UDLD Features. https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol-stp-8021d/218321-configure-stp-with-loop-guard-and-bpdu-s.html
- MikroTik. (n.d.). Bridging and Switching. https://help.mikrotik.com/docs/spaces/ROS/pages/328068/Bridging+and+Switching
License
Copyright (c) 2026 M. V. Lyakhova, N. G. Senikova (Author)