Configuring Spanning Tree MSTP Configurations
Configuration Guide  
  337
Note:
To prevent frequent network flapping, make sure that Hello Time, Forward Delay, and Max Age 
conform to the following formulas:
• 
2*(Hello Time + 1) <= Max Age
• 
2*(Forward Delay - 1) >= Max Age
This example shows how to configure the CIST priority as 36864, the Forward Delay as 12 
seconds, the Hold Count as 8 and the Max Hop as 25:
Switch#configure
Switch(config)#spanning-tree priority 36864
Switch(config-if)#spanning-tree timer forward-time 12
Switch(config-if)#spanning-tree hold-count 8
Switch(config-if)#spanning-tree max-hops 25
Switch(config-if)#show spanning-tree bridge
State       Mode     Priority     Hello-Time     Fwd-Time     Max-Age       Hold-Count     Max-Hops
-------      -------    --------    --------              --------             --------           ---------             --------
Enable    Mstp       36864       2                         12                   20                    8                           25
Switch(config-if)#end
Switch#copy running-config startup-config
3.2.4  Enabling Spanning Tree Globally
Follow these steps to configure the spanning tree mode as MSTP and enable spanning tree 
function globally:
Step 1 configure
Enter global configuration mode.
Step 2 spanning-tree mode mstp
Configure the spanning tree mode as MSTP.
mstp: 
Specify the spanning tree mode as MSTP.
Step 3 spanning-tree
Enable spanning tree function globally.
Step 4 show spanning-tree active
(Optional) View the active information of MSTP.