iTable of Contents1 MSTP Configuration ··································································································································1-1Overview ·················································································································································1-1Spanning Tree Protocol Overview···································································································1-1Rapid Spanning Tree Protocol Overview ························································································1-9Multiple Spanning Tree Protocol Overview ···················································································1-10MSTP Implementation on Switches ······························································································1-14Protocols and Standards ···············································································································1-15MSTP Configuration Task List ··············································································································1-15Configuring Root Bridge························································································································1-16Configuring an MST Region ··········································································································1-16Specifying the Current Switch as a Root Bridge/Secondary Root Bridge·····································1-18Configuring the Bridge Priority of the Current Switch····································································1-19Configuring How a Port Recognizes and Sends MSTP Packets ··················································1-20Configuring the MSTP Operation Mode ························································································1-21Configuring the Maximum Hop Count of an MST Region ·····························································1-21Configuring the Network Diameter of the Switched Network ························································1-22Configuring the MSTP Time-related Parameters ··········································································1-23Configuring the Timeout Time Factor····························································································1-24Configuring the Maximum Transmitting Rate on the Current Port ················································1-24Configuring the Current Port as an Edge Port ··············································································1-25Setting the Link Type of a Port to P2P ··························································································1-26Enabling MSTP······························································································································1-27Configuring Leaf Nodes ························································································································1-28Configuring the MST Region ·········································································································1-28Configuring How a Port Recognizes and Sends MSTP Packets ··················································1-29Configuring the Timeout Time Factor····························································································1-29Configuring the Maximum Transmitting Rate on the Current Port ················································1-29Configuring a Port as an Edge Port·······························································································1-29Configuring the Path Cost for a Port ·····························································································1-29Configuring Port Priority ················································································································1-31Setting the Link Type of a Port to P2P ··························································································1-32Enabling MSTP······························································································································1-32Performing mCheck Operation ·············································································································1-32Configuration Prerequisites ···········································································································1-32Configuration Procedure················································································································1-32Configuration Example ··················································································································1-33Configuring Guard Functions ················································································································1-33Configuring BPDU Guard ··············································································································1-33Configuring Root Guard·················································································································1-34Configuring Loop Guard ················································································································1-35Configuring TC-BPDU Attack Guard ·····························································································1-36