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