Configuration Guide
230
Configuring Spanning Tree
MSTP Configurations
Switch(config)#interface gigabitEthernet
1/0/3
Switch(config-if)#spanning-tree
Switch(config-if)#spanning-tree common-config port-priority
32
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.2 Configuring the MSTP Region
Configuring the MST Region
Follow these steps to configure the MST region and the priority of the switch in the
instance:
Step 1
configure
Enter global configuration mode.
Step 2
spanning-tree mst instance
instance-id
priority
pri
Configure the priority of the switch in the instance.
instance-id
:
Specify the instance ID, the valid values ranges from 1 to 8.
pri
:
Specify the 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, and the switch with the highest priority will be elected as the root bridge in the desired
instance.
Step 3
spanning-tree mst configuration
Enter MST configuration mode, as to configure the VLAN-Instance mapping, region name and
revision level.