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