Configuring Spanning Tree MSTP Configurations
Configuration Guide  
  335
Step 4 show spanning-tree mst { configuration [ digest ] | instance 
instance-id
 [ interface [ 
fastEthernet 
port
 | gigabitEthernet 
port
 | port-channel 
lagid 
| ten-gigabitEthernet 
port 
] ] }
(Optional) View the related information of MSTP Instance.
digest: 
Specify to display the digest calculated by instance-vlan map.
instance-id: 
Specify the Instance ID desired to view, ranging from 1 to 8.
port: 
Specify the port number.
lagid: 
Specify the ID of the LAG.
Step 5 end
Return to privileged EXEC mode. 
Step 6 copy running-config startup-config
Save the settings in the configuration file.
This example shows how to configure the priority as 144, the path cost as 200 of port 1/0/3 
in  instance 5:
Switch#configure
Switch(config)#interface gigabitEthernet 1/0/3
Switch(config-if)#spanning-tree mst instance 5 port-priority 144 cost 200
Switch(config-if)#show spanning-tree interface gigabitEthernet 1/0/3
MST-Instance 0 (CIST)
Interface     State     Prio   Ext-Cost    Int-Cost     Edge    P2p          Mode   Role    Status      LAG
----------     ------      ----     --------        --------      ----        ---------    -----      ----      --------     ---
Gi1/0/3       Enable   32      Auto            Auto           No       No(auto)    N/A     N/A      LnkDwn    N/A
MST-Instance 5
Interface       Prio    Cost        Role        Status       LAG
-----------     ------   ------      --------    ---------    -------
Gi1/0/3           144    200        N/A          LnkDwn    N/A
Switch(config-if)#end
Switch#copy running-config startup-config
3.2.3  Configuring Global MSTP Parameters
Follow these steps to configure the global MSTP parameters of the switch:
Step 1 configure
Enter global configuration mode.