This chapter describes how you can configure the various versions of the Spanning Tree Protocol (STP) supported on MX-series routers to create a loop-free topology in Layer 2 networks.