Juniper devices provide Layer 2 loop prevention through Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), and Multiple Spanning Tree Protocol (MSTP). You can configure bridge protocols data unit (BPDU) protection on interfaces to prevent them from receiving BPDUs that could result in STP misconfigurations, which could lead to network outages.
You can use the J-Web Quick Configuration to add a spanning tree or to edit or delete an existing spanning tree.
To access the Spanning Tree Quick Configuration:
The Spanning Tree Configuration page displays a list of existing spanning trees. If you select a specific spanning tree, the specific spanning tree details are displayed in the General and Interfaces tabs.
When you are adding a spanning tree, select a protocol name:
Select the Ports tab to configure the ports associated with this spanning tree. Click one of the following:
When you are adding or editing a spanning-tree port, enter information as described in Table 5.
Table 2: STP Configuration Parameters
Table 3: RSTP Configuration Parameters
Table 4: MSTP Configuration Parameters
Table 5: Spanning-Tree Ports Configuration Details