In a small company's local network, an IT technician suspects that there might be a Layer 2 loop occurring due to improper switch configuration. Which feature should be enabled on the company's network switches to prevent broadcasting loops and ensure efficient handling of network frames?
Port Mirroring
Rapid Spanning Tree Protocol (RSTP)
Quality of Service (QoS)
Spanning Tree Protocol (STP)