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?
Rapid Spanning Tree Protocol (RSTP)
Port Mirroring
Spanning Tree Protocol (STP)
Quality of Service (QoS)