Configuring Spanning Tree
MSTP Configurations
Configuration Guide
233
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
---------- ------ ---- -------- -------- ---- --------- ----- ---- --------
Gi1/0/3 Enable 32 Auto Auto No No(auto) N/A N/A LnkDwn
MST-Instance 5
Interface Prio Cost Role Status
----------- ------ ------ -------- ---------
Gi1/0/3 144 200 N/A LnkDwn
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.
Step 2
spanning-tree priority
pri
Configure the priority of the switch for comparison in CIST.
pri:
Specify the CIST priority of the switch. The valid values are from 0 to 61440, which are
divisible by 4096, and the default value is 32768. The switch with the lower value has the higher
priority.
CIST priority the priority of a switch in CIST. The switch with the highest priority will be elected
as the root bridge in CIST.