Page 2
END USER LICENSE AGREEMENT The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use with) Juniper Networks software. Use of such software is subject to the terms and conditions of the End User License Agreement (“EULA”) posted at http://www.juniper.net/support/eula.html.
Page 10
Spanning-Tree Protocols Feature Guide for EX9200 Switches Part 4 BPDU Protection, Root Protection, and Loop Protection Chapter 10 Using BPDU Protection, Root Protection, and Loop Protection ..217 Table 23: Components of the Topology for Configuring BPDU Protection on EX Series Switches .
® To obtain the most current version of all Juniper Networks technical documentation, see the product documentation page on the Juniper Networks website at http://www.juniper.net/techpubs/ If the information in the latest release notes differs from the information in the documentation, follow the product Release Notes.
Spanning-Tree Protocols Feature Guide for EX9200 Switches If the example configuration does not start at the top level of the hierarchy, the example is a snippet. In this case, use the command. These procedures are load merge relative described in the following sections.
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 2: Text and Syntax Conventions Convention Description Examples Bold text like this Represents text that you type. To enter configuration mode, type the configure command: user@host> configure Fixed-width text like this Represents output that appears on the user@host>...
We encourage you to provide feedback, comments, and suggestions so that we can improve the documentation. You can provide feedback by using either of the following methods: Online feedback rating system—On any page of the Juniper Networks TechLibrary site http://www.juniper.net/techpubs/index.html , simply click the stars to rate the content, and use the pop-up form to provide us with information about your experience.
Download the latest versions of software and review release notes: http://www.juniper.net/customers/csc/software/ Search technical bulletins for relevant hardware and software notifications: http://kb.juniper.net/InfoCenter/ Join and participate in the Juniper Networks Community Forum: http://www.juniper.net/company/communities/ Open a case online in the CSC Case Management tool: http://www.juniper.net/cm/...
PC–along branches. A tree branch is a network segment, or link, between bridges. Switches that forward frames through an STP spanning tree are called designated bridges. Juniper Networks EX Series and QFX Series switches provide Layer 2 loop prevention through Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), Multiple Spanning Tree Protocol (MSTP), and VLAN Spanning Tree Protocol (VSTP).
Spanning-Tree Protocols Feature Guide for EX9200 Switches If the BPDU data matches the existing entry in the MAC address table, the port resets a timer called max age to zero and then forwards a new BPDU with the current active topology information to the next port in the spanning tree.
Spanning-Tree Protocols Feature Guide for EX9200 Switches RSTP or VSTP Forced to Run as IEEE 802.1D STP On MX Series routers and EX Series and QFX Series switches in a Layer 2 environment, you can force the configured Rapid Spanning Tree Protocol (RSTP) or VLAN Spanning Tree Protocol (VSTP) to run as the original IEEE 802.1D Spanning Tree Protocol (STP)
Spanning-Tree Protocols Feature Guide for EX9200 Switches Before you configure the switches for RSTP, be sure you have: Installed and connected the four switches. See the hardware documentation for your switch. Performed the initial software configuration on all switches. See Connecting and Configuring an EX Series Switch (CLI Procedure) or Connecting and Configuring an EX Series Switch (J-Web Procedure).
Page 28
Spanning-Tree Protocols Feature Guide for EX9200 Switches NOTE: You also can create a loop-free topology between the aggregation layer and the distribution layer using redundant trunk links. For more information about configuring redundant trunk links, see Example: Configuring Redundant Trunk Links for Faster Recovery.
Page 32
Spanning-Tree Protocols Feature Guide for EX9200 Switches If Switch 2 includes dual Routing Engines, configure NSB. To quickly configure nonstop bridging on Switch 2, copy the following commands and paste them into the switch terminal window: set chassis redundancy graceful switchover...
Page 38
Spanning-Tree Protocols Feature Guide for EX9200 Switches graceful-switchover; Configuring RSTP and Nonstop Bridging on Switch 4 CLI Quick To quickly configure RSTP and nonstop bridging on Switch 4, copy the following Configuration commands and paste them into the switch terminal window: [edit] set vlans voice-vlan description “Voice VLAN”...
Page 42
Spanning-Tree Protocols Feature Guide for EX9200 Switches Action Use the operational mode command: user@switch2> show spanning-tree interface Spanning tree interface parameters for instance 0 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-0/0/14 128:527 128:527 32768.0019e2503d20...
Spanning-Tree Protocols Feature Guide for EX9200 Switches To force the spanning-tree protocol version to be the original IEEE 802.1D STP: Enable IEEE 802.1D STP: [edit protocols] user@switch# set (rstp | vstp) force-version NOTE: After using the force-version statement to enable xSTP globally, apply the force-version statement for specific Layer 2 ports.
Page 46
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 5: Spanning-Tree Protocol Configuration Parameters (continued) Field Function Your Action Max Hops (MSTP only) Specifies the number of hops in a region Type a value. before the BPDU is discarded. Configuration Name (MSTP only) Specifies the MSTP region name carried Type a name.
Page 48
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 5: Spanning-Tree Protocol Configuration Parameters (continued) Field Function Your Action VLAN ID Specifies the VLAN for the MST instance. In the VLAN box, choose one of the following options: Click , select a VLAN from the list, and click...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Reverting to RSTP or VSTP from Forced IEEE 802.1D STP On MX Series routers and EX Series and QFX Series switches on which Rapid Spanning Tree Protocol (RSTP) or VLAN Spanning Tree Protocol (VSTP) has been forced to run as the original IEEE 802.1D Spanning Tree Protocol (STP) version, you can revert back...
Spanning-Tree Protocols Feature Guide for EX9200 Switches disable-timeout (Spanning Trees) Syntax disable-timeout seconds; Hierarchy Level [edit protocols layer2-control bpdu-block] Release Information Statement introduced in Junos OS Release 9.1 for EX Series switches. Description For interfaces configured for BPDU protection, specify the amount of time an interface is disabled by BPDU blocking.
Page 72
Spanning-Tree Protocols Feature Guide for EX9200 Switches —(Optional) Maximum size of each trace file, in kilobytes (KB) or megabytes size size (MB). When a trace file named reaches this size, it is renamed trace-file trace-file.0 When the trace-file again reaches its maximum size, trace-file.0...
Page 74
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 6: Summary of Spanning Tree Protocols Output Fields (continued) Field Values Routing instance name Displays bridge information for the specified routing instance. NOTE: The option is supported only on EX4300 switches. Context ID An internally generated identifier.
Spanning-Tree Protocols Feature Guide for EX9200 Switches clear spanning-tree protocol-migration Syntax clear spanning-tree protocol-migration <interface interface-name> <routing-instance routing-instance-name> Release Information Command introduced in Junos OS Release 9.0. Description Revert from the original IEEE 802.1D Spanning Tree Protocol (STP) back to the Rapid...
Page 82
Spanning-Tree Protocols Feature Guide for EX9200 Switches STP bridge parameters for bridge VLAN 10 Root ID : 28672.00:90:69:0b:3f:d0 Hello time : 2 seconds Maximum age : 20 seconds Forward delay : 15 seconds Message age Number of topology changes : 58...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 8: show spanning-tree Interface Output Fields Field Name Field Description Interface configured to participate in the STP, RSTP, VSTP, or MSTP Interface name instance. Port ID Logical interface identifier configured to participate in the MSTP or VSTP instance.
Page 86
Spanning-Tree Protocols Feature Guide for EX9200 Switches Port cost : 1000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/2 Port identifier : 128.2 Designated port ID : 128.2...
Page 88
Spanning-Tree Protocols Feature Guide for EX9200 Switches Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-11/0/5 128:1 128:1 32768.0090690b7fd1 20000 DESG ge-11/0/6 128:2 128:1 32768.0090690b7fd1 20000 BKUP ge-11/1/0 128:3 128:2 32768.0090690b4fd1 20000 ge-11/1/1 128:4 128:3 32768.0090690b4fd1...
Page 90
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 9: show spanning-tree statistics Output Fields (continued) Field Name Field Description Number of BPDUs received within a specified interval. BPDUs received in last interval Interface for which the statistics are being displayed.
Switches that forward frames through an STP spanning-tree are called designated bridges. Juniper Networks EX Series and QFX Series switches provide Layer 2 loop prevention through Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), Multiple Spanning Tree Protocol (MSTP), and VLAN Spanning Tree Protocol (VSTP).
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 10: Selecting a Spanning Tree Protocol (continued) Protocol Advantages Disadvantages Spanning Tree Protocol works with 802.1D 1998 STP is slower than RSTP. bridges. STP is not recommended for multiple VLAN RSTP is backward compatible with STP; therefore, networks because it is not VLAN-aware—as a result,...
Page 98
Spanning-Tree Protocols Feature Guide for EX9200 Switches Configuring MSTP on Switch 2 on page 88 Configuring MSTP on Switch 3 on page 91 Configuring MSTP on Switch 4 on page 94 Verification on page 96 Requirements This example uses the following software and hardware components: Junos OS Release 13.2X50-D10 or later for EX Series switches...
Page 100
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 11: Components of the Topology for Configuring MSTP on EX Series Switches (continued) Property Settings Switch 3 The following interfaces on Switch 3 are connected in this way: is connected to Switch 1...
Page 102
Spanning-Tree Protocols Feature Guide for EX9200 Switches Step-by-Step To configure interfaces and MSTP on Switch 1: Procedure NOTE: Starting with Junos OS Release 15.1 for EX Series and QFX Series switches with support for the Enhanced Layer 2 Software (ELS) configuration style, you can configure spanning tree parameters globally on all spanning tree interfaces.
Page 106
Spanning-Tree Protocols Feature Guide for EX9200 Switches vlan { members 10; members 20; members 30; members 40; ge-0/0/18 { unit 0 { family ethernet-switching { interface-mode trunk; vlan { members 10; members 20; members 30; members 40; protocols { mstp { configuration-name region1;...
Page 108
Spanning-Tree Protocols Feature Guide for EX9200 Switches user@switch3# set ge-0/0/26 unit 0 family ethernet-switching vlan members [10 20 30 user@switch3# set ge-0/0/28 unit 0 family ethernet-switching vlan members [10 20 30 user@switch3# set ge-0/0/24 unit 0 family ethernet-switching vlan members [10 20 30...
Page 110
Spanning-Tree Protocols Feature Guide for EX9200 Switches vlan-id 40; Configuring MSTP on Switch 4 CLI Quick To quickly configure interfaces and MSTP on Switch 4, copy the following commands Configuration and paste them into the switch terminal window: [edit] set vlans voice-vlan description “Voice VLAN”...
Page 114
Spanning-Tree Protocols Feature Guide for EX9200 Switches Meaning The operational mode command displays spanning-tree show spanning-tree interface domain information such as the designated port and the port roles. The operational mode command show spanning-tree bridge displays the spanning-tree domain information at either the bridge level or the interface level. If the optional interface name is omitted, all interfaces in the spanning-tree domain are displayed.
Page 116
Spanning-Tree Protocols Feature Guide for EX9200 Switches Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-0/0/26 128:513 128:513 4096.0019e25051e0 1000 DESG ge-0/0/28 128:515 128:515 4096.0019e25051e0 1000 DESG ge-0/0/24 128:517 128:517 4096.0019e25051e0 1000 DESG Spanning tree interface parameters for instance 2...
Page 118
Spanning-Tree Protocols Feature Guide for EX9200 Switches Number of topology changes Time since last topology change : 887 seconds Local parameters Bridge ID : 16384.00:19:e2:50:40:e0 Extended system ID Internal instance ID STP bridge parameters for MSTI 1 MSTI regional root : 4096.00:19:e2:50:51:e0...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Click to apply changes to the configuration or click to cancel without Cancel saving changes. —Deletes a selected spanning-tree protocol configuration. Delete Table 12: Spanning-Tree Protocol Configuration Parameters Field Function Your Action General...
Page 122
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 12: Spanning-Tree Protocol Configuration Parameters (continued) Field Function Your Action BPDU Timeout Specifies the BPDU timeout action for the interface. Select one of the following options: Action Block NOTE: For EX4300 switches, you can select one...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Configuring MSTP You can configure the Multiple Spanning Tree Protocol (MSTP) under [edit protocols]. To configure the Multiple Spanning Tree Protocol: Enable MSTP as the version of spanning-tree protocol to be configured: [edit] user@switch@ edit ...
Page 126
Spanning-Tree Protocols Feature Guide for EX9200 Switches port. If the port receives superior BPDU packets, root protect moves this port to a root-prevented spanning-tree state. For configuration details, see Checking the Status of Spanning-Tree Instance Interfaces. Configure the bridge priority [edit ...
Spanning-Tree Protocols Feature Guide for EX9200 Switches disable-timeout (Spanning Trees) Syntax disable-timeout seconds; Hierarchy Level [edit protocols layer2-control bpdu-block] Release Information Statement introduced in Junos OS Release 9.1 for EX Series switches. Description For interfaces configured for BPDU protection, specify the amount of time an interface is disabled by BPDU blocking.
Page 144
Spanning-Tree Protocols Feature Guide for EX9200 Switches Release Information Statement introduced in Junos OS Release 13.2X50-D10 for EX Series switches. Statement updated in Junos OS Release 15.1 for EX Series switches to support configuration of spanning tree parameters globally on all interfaces.
Page 150
Spanning-Tree Protocols Feature Guide for EX9200 Switches —Trace the bridge detection state machine. bridge-detection-state-machine —Trace events of the protocol state machine. events —Trace the port information state machine. port-information-state-machine port-migration-state-machine —Trace the port migration state machine. port-receive-state-machine —Trace the port receive state machine.
Page 156
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 13: Summary of Spanning Tree Protocols Output Fields (continued) Field Values Routing instance name Displays bridge information for the specified routing instance. NOTE: The option is supported only on EX4300 switches. Context ID An internally generated identifier.
Spanning-Tree Protocols Feature Guide for EX9200 Switches clear spanning-tree protocol-migration Syntax clear spanning-tree protocol-migration <interface interface-name> <routing-instance routing-instance-name> Release Information Command introduced in Junos OS Release 9.0. Description Revert from the original IEEE 802.1D Spanning Tree Protocol (STP) back to the Rapid...
Page 164
Spanning-Tree Protocols Feature Guide for EX9200 Switches STP bridge parameters for bridge VLAN 10 Root ID : 28672.00:90:69:0b:3f:d0 Hello time : 2 seconds Maximum age : 20 seconds Forward delay : 15 seconds Message age Number of topology changes : 58...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 15: show spanning-tree Interface Output Fields Field Name Field Description Interface configured to participate in the STP, RSTP, VSTP, or MSTP Interface name instance. Port ID Logical interface identifier configured to participate in the MSTP or VSTP instance.
Page 168
Spanning-Tree Protocols Feature Guide for EX9200 Switches Port cost : 1000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/2 Port identifier : 128.2 Designated port ID : 128.2...
Page 170
Spanning-Tree Protocols Feature Guide for EX9200 Switches Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-11/0/5 128:1 128:1 32768.0090690b7fd1 20000 DESG ge-11/0/6 128:2 128:1 32768.0090690b7fd1 20000 BKUP ge-11/1/0 128:3 128:2 32768.0090690b4fd1 20000 ge-11/1/1 128:4 128:3 32768.0090690b4fd1...
Page 172
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 16: show spanning-tree statistics Output Fields (continued) Field Name Field Description Number of BPDUs received within a specified interval. BPDUs received in last interval Interface for which the statistics are being displayed.
ELS. For ELS details, see Getting Started with Enhanced Layer 2 Software. For additional VLANs, use RSTP. On EX Series (except EX9200) and QFX Series switches running Junos OS that supports ELS—VSTP can support up to 510 VLANs. On EX9200 switches—VSTP can support up to 4000 VLANs.
Spanning-Tree Protocols Feature Guide for EX9200 Switches On an EX Series switch running Junos OS that does not support ELS—VSTP can support up to 253 VLANs. NOTE: When you configure VSTP, we recommend that you enable VSTP on all VLANs that can receive VSTP bridge protocol data units (BPDUs).
Spanning-Tree Protocols Feature Guide for EX9200 Switches Configuring Multiple Spanning Tree Protocol Configuring VLAN Spanning Tree Protocol edge on page 39 interface (Spanning Tree) Configuring RSTP (CLI Procedure) on page 33 Configuring VLAN Spanning Tree Protocol on page 168 Configuring MSTP on page 108 RSTP or VSTP Forced to Run as IEEE 802.1D STP...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Click one of the following options: —Creates a spanning-tree protocol configuration. Select a protocol name. Enter information as described in Table 5 on page Click to apply changes to the configuration or click...
Page 182
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 18: Spanning-Tree Protocol Configuration Parameters (continued) Field Function Your Action No Root Port Specifies an interface as a spanning-tree designated To enable the option, select the check box. port. If the bridge receives superior STP BPDUs on a...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Configuring VLAN Spanning Tree Protocol Juniper Networks EX Series Ethernet Switches provide Layer 2 loop prevention through Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), Multiple Spanning Tree Protocol (MSTP), and VLAN Spanning Tree Protocol (VSTP). The default factory configuration for EX Series switches uses RSTP.
Spanning-Tree Protocols Feature Guide for EX9200 Switches Reverting to RSTP or VSTP from Forced IEEE 802.1D STP On MX Series routers and EX Series and QFX Series switches on which Rapid Spanning Tree Protocol (RSTP) or VLAN Spanning Tree Protocol (VSTP) has been forced to run as the original IEEE 802.1D Spanning Tree Protocol (STP) version, you can revert back...
Spanning-Tree Protocols Feature Guide for EX9200 Switches disable-timeout (Spanning Trees) Syntax disable-timeout seconds; Hierarchy Level [edit protocols layer2-control bpdu-block] Release Information Statement introduced in Junos OS Release 9.1 for EX Series switches. Description For interfaces configured for BPDU protection, specify the amount of time an interface is disabled by BPDU blocking.
Spanning-Tree Protocols Feature Guide for EX9200 Switches interface (BPDU Blocking) Syntax interface interface-name; Hierarchy Level [edit protocols layer2-control bpdu-block] Release Information Statement introduced in Junos OS Release 9.4. Statement introduced in Junos OS Release 13.2X50-D10 for EX Series switches. Description Configure the interface to participate in BPDU blocking.
Page 206
Spanning-Tree Protocols Feature Guide for EX9200 Switches —Trace the bridge detection state machine. bridge-detection-state-machine —Trace events of the protocol state machine. events —Trace the port information state machine. port-information-state-machine port-migration-state-machine —Trace the port migration state machine. port-receive-state-machine —Trace the port receive state machine.
Page 214
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 19: Summary of Spanning Tree Protocols Output Fields (continued) Field Values Routing instance name Displays bridge information for the specified routing instance. NOTE: The option is supported only on EX4300 switches. Context ID An internally generated identifier.
Spanning-Tree Protocols Feature Guide for EX9200 Switches clear spanning-tree protocol-migration Syntax clear spanning-tree protocol-migration <interface interface-name> <routing-instance routing-instance-name> Release Information Command introduced in Junos OS Release 9.0. Description Revert from the original IEEE 802.1D Spanning Tree Protocol (STP) back to the Rapid...
Page 222
Spanning-Tree Protocols Feature Guide for EX9200 Switches STP bridge parameters for bridge VLAN 10 Root ID : 28672.00:90:69:0b:3f:d0 Hello time : 2 seconds Maximum age : 20 seconds Forward delay : 15 seconds Message age Number of topology changes : 58...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 21: show spanning-tree Interface Output Fields Field Name Field Description Interface configured to participate in the STP, RSTP, VSTP, or MSTP Interface name instance. Port ID Logical interface identifier configured to participate in the MSTP or VSTP instance.
Page 226
Spanning-Tree Protocols Feature Guide for EX9200 Switches Port cost : 1000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/2 Port identifier : 128.2 Designated port ID : 128.2...
Page 228
Spanning-Tree Protocols Feature Guide for EX9200 Switches Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-11/0/5 128:1 128:1 32768.0090690b7fd1 20000 DESG ge-11/0/6 128:2 128:1 32768.0090690b7fd1 20000 BKUP ge-11/1/0 128:3 128:2 32768.0090690b4fd1 20000 ge-11/1/1 128:4 128:3 32768.0090690b4fd1...
Page 230
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 22: show spanning-tree statistics Output Fields (continued) Field Name Field Description Number of BPDUs received within a specified interval. BPDUs received in last interval Interface for which the statistics are being displayed.
To prevent a switch from forwarding BPDUs generated by spanning-tree protocols to a device, you can enable on an interface. bpdu-block On Juniper Networks EX Series Ethernet Switches that run Juniper Networks Junos operating system (Junos OS) that supports the Enhanced Layer 2 Software (ELS) configuration style, enable at the...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Before you configure the interfaces on Switch 2 for BPDU protection, be sure you have: RSTP enabled on the switches. NOTE: By default, RSTP is enabled on all EX Series switches. Overview and Topology The switches, being in an RSTP topology, support a loop-free network through the exchange of BPDUs.
Page 238
Spanning-Tree Protocols Feature Guide for EX9200 Switches Results Check the results of the configuration: user@switch> show configuration protocols rstp interface ge-0/0/5 { edge; interface ge-0/0/6 { edge; bpdu-block-on-edge; Verification To confirm that the configuration is working properly: Displaying the Interface State Before BPDU Protection Is Triggered on page 222...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Example: Configuring Root Protection to Enforce Root Bridge Placement in Spanning Trees on EX Series Switches Understanding BPDU Protection for STP, RSTP, and MSTP on EX Series Switches on page 217 Example: Configuring BPDU Protection on Interfaces to Prevent STP Miscalculations...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Figure 4: BPDU Protection Topology Table 24 on page 226 shows the components that will be configured for BPDU protection. Table 24: Components of the Topology for Configuring BPDU Protection on EX Series Switches...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Configuring BPDU Protection on Spanning Tree Interfaces NOTE: This topic applies to Junos OS for EX Series and QFX switches with support for the Enhanced Layer 2 Software (ELS) configuration style. For ELS details, see Getting Started with Enhanced Layer 2 Software.
217 Understanding Loop Protection for STP, RSTP, VSTP, and MSTP on EX Series Switches Juniper Networks EX Series Ethernet Switches provide Layer 2 loop prevention through Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), VLAN Spanning Tree Protocol (VSTP), and Multiple Spanning Tree Protocol (MSTP). Loop protection increases the efficiency of STP, RSTP, and MSTP by preventing ports from moving into a forwarding state that would result in a loop opening up in the network.
Page 248
Spanning-Tree Protocols Feature Guide for EX9200 Switches However, a blocking interface can transition to the forwarding state in error if the interface stops receiving BPDUs from its designated port on the segment. Such a transition error can occur when there is a hardware error on the switch or software configuration error between the switch and its neighbor.
Chapter 10: Using BPDU Protection, Root Protection, and Loop Protection Understanding Root Protection for STP, RSTP, VSTP, and MSTP on EX Series Switches Juniper Networks EX Series Ethernet Switches provide Layer 2 loop prevention through Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), VLAN Spanning Tree Protocol (VSTP), and Multiple Spanning Tree Protocol (MSTP).
Spanning-Tree Protocols Feature Guide for EX9200 Switches Example: Configuring Loop Protection to Prevent Interfaces from Transitioning from Blocking to Forwarding in a Spanning Tree on EX Series Switches NOTE: This example uses Junos OS for EX Series switches with support for the Enhanced Layer 2 Software (ELS) configuration style.
Page 252
Spanning-Tree Protocols Feature Guide for EX9200 Switches Table 25: Components of the Topology for Configuring Loop Protection on EX Series Switches (continued) Property Settings Switch 2 Switch 2 has the root port ge-0/0/7 Switch 3 Switch 3 is connected to Switch 1 through interface...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Action Use the operational mode command: user@switch> show spanning-tree interface Spanning tree interface parameters for instance 0 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-0/0/0 128:513 128:513 32768.0019e2503f00...
Spanning-Tree Protocols Feature Guide for EX9200 Switches Four EX Series switches are displayed in Figure 6 on page 240. In this example, they are configured for RSTP and create a loop-free topology. Interface on Switch 1 is ge-0/0/7 a designated port on an administrative boundary. It connects to Switch 4. Switch 3 is the root bridge.
Page 258
Spanning-Tree Protocols Feature Guide for EX9200 Switches Displaying the Interface State Before Root Protection Is Triggered Purpose Before root protection is triggered on interface , confirm the interface state. ge-0/0/7 Action Use the operational mode command: user@switch> show spanning-tree interface...
Spanning-Tree Protocols Feature Guide for EX9200 Switches clear error bpdu interface Syntax clear error bpdu interface (all | interface-name) Release Information Command introduced in Junos OS Release 9.4. Command introduced in Junos OS Release 13.2X50-D10 for EX Series switches. Command supports option in Junos OS Release 15.1 for EX Series switches.
Need help?
Do you have a question about the EX9200 and is the answer not in the manual?
Questions and answers