On an Ethernet network, Spanning Tree Protocol (STP) is often used to prevent loops. However, VPLS users do not know the topology of the Internet Service Provider (ISP) network. Therefore, enabling STP on the private network cannot prevent loops on the ISP network. VPLS uses full-mesh PWs and split horizon to prevent loops.
The full-mesh PEs and split horizon ensure route reachability and prevent loops on VPLS networks. If a CE is connected to multiple PEs, or multiple CEs on the same VPLS VPN are interconnected, VPLS cannot guarantee loop prevention. In this situation, other methods must be used to prevent loops.
STP can run on an L2VPN private network. All STP Bridge Protocol Data Units (BPDUs) are transparently transmitted over the ISP network.