189Copyright © 2019, Juniper Networks, Inc.Chapter 5: Loop Protection for Spanning-Tree Protocols
ActionUse the operational mode command:[email protected]>show spanning-tree interfaceSpanning tree interface parameters for instance 0InterfacePort IDDesignatedDesignatedPortStateRoleport IDbridge IDCostge-0/0/0.0128:513128:51332768.0019e2503f0020000BLKDISge-0/0/1.0128:514128:51432768.0019e2503f0020000BLKDISge-0/0/2.0128:515128:51532768.0019e2503f0020000BLKDISge-0/0/3.0128:516128:51632768.0019e2503f0020000FWDDESGge-0/0/4.0128:517128:51732768.0019e2503f0020000FWDDESGge-0/0/5.0128:518128:51832768.0019e2503f0020000FWDDESGge-0/0/6.0128:519128:216384.00aabbcc034820000BLKALT[output truncated]MeaningThe output from the operational mode commandshow spanning-tree interfaceshowsthatge-0/0/6.0is the alternate port and in a blocking state.Verifying That Loop Protection Is Working on an InterfacePurposeVerify the loop protection configuration on interfacege-0/0/6. RSTP has been disabledon interfacege-0/0/4on Switch 1. This will stop BPDUs from being sent to interfacege-0/0/6and trigger loop protection on the interface.ActionUse the operational mode command:[email protected]>show spanning-tree interfaceSpanning tree interface parameters for instance 0InterfacePort IDDesignatedDesignatedPortStateRoleport IDbridge IDCostge-0/0/0.0128:513128:51332768.0019e2503f0020000BLKDISge-0/0/1.0128:514128:51432768.0019e2503f0020000BLKDISge-0/0/2.0128:515128:51532768.0019e2503f0020000BLKDISge-0/0/3.0128:516128:51632768.0019e2503f0020000FWDDESGge-0/0/4.0128:517128:51732768.0019e2503f0020000FWDDESGge-0/0/5.0128:518128:51832768.0019e2503f0020000FWDDESGge-0/0/6.0128:519128:51932768.0019e2503f0020000BLKDIS(Loop-Incon)[output truncated]MeaningThe operational mode commandshow spanning-tree interfaceshows that interfacege-0/0/6.0has detected that BPDUs are no longer being forwarded to it and has movedinto a loop-inconsistent state. The loop-inconsistent state prevents the interface fromtransitioning to a forwarding state. The interface recovers and transitions back to itsoriginal state as soon as it receives BPDUs.Copyright © 2019, Juniper Networks, Inc.190Spanning-Tree Protocols Feature Guide
Example: Configuring Loop Protection to Prevent Interfaces from Transitioning from Blockingto Forwarding in a Spanning Tree on EX Series Switches With ELSNOTE:This example uses Junos OS for EX Series switches with support forthe Enhanced Layer 2 Software (ELS) configuration style. If your switch runssoftware that does not support ELS, see“Example: Configuring LoopProtection to Prevent Interfaces from Transitioning from Blocking toForwarding in a Spanning Tree on non-ELS EX Series Switches” on page 177.For ELS details, seeUsing the Enhanced Layer 2 Software CLI.EX Series switches provide Layer 2 loop prevention through Spanning Tree Protocol(STP), Rapid Spanning Tree protocol (RSTP), and Multiple Spanning Tree Protocol(MSTP). Loop protection increases the efficiency of STP, RSTP, and MSTP by preventinginterfaces from moving into a forwarding state that would result in a loop opening up inthe network.
Upload your study docs or become a
Course Hero member to access this document
Upload your study docs or become a
Course Hero member to access this document
End of preview. Want to read all 348 pages?
Upload your study docs or become a
Course Hero member to access this document
Term
Fall
Professor
NoProfessor
Tags
Juniper Networks