MST Configuration on Cisco

cisco-mst-configuration

In this configuration example, we will learn How to Configure Spanning-Tree MST Mode on Cisco switches. Before, we have leared what is STP and MST. Now, we will learn Cisco MST Configuration. To configure MST (Multiple Spanning Tree), we will use the below topology.

cisco-mst-configuration

Now, let’s start MST Configuration on Cisco.

 


 

MST Configuration

How to Enter MST Cofiguration Mode? To enter MST Configuration mode, we will use “spanning-tree mst configuration” command. On each switch, we will use this command.

 

Switch 1 (config)# spanning-tree mst configuration

 

Switch 2 (config)# spanning-tree mst configuration

 

Switch 3 (config)# spanning-tree mst configuration

 


 

How to check current MST Configuration?

After entering MST Configuration mode, we can check the current MST configuration with “show current” command under MST configuration mode.

 

Switch 1 (config-mst)# show current
Current MST configuration
Name []
Revision 0 Instances configured 1
Instance Vlans mapped
——– ————————————————————
0 1-4094
———————————————————————-

 

Switch 2 (config-mst)# show current
Current MST configuration
Name []
Revision 0 Instances configured 1
Instance Vlans mapped
——– ————————————————————
0 1-4094
———————————————————————-

 

Switch 3 (config-mst)# show current
Current MST configuration
Name []
Revision 0 Instances configured 1
Instance Vlans mapped
——– ————————————————————
0 1-4094
———————————————————————-

 

As you can see above, by default, there is only instance 0 and all the VLANs (1-4094) are mapped to instance 0 on each switch.

 


 

MST Region Configuration

Now, we will configure the name of our MST region name and revision number. These region name and revision number will be used to identfy that belongs to a specific MST region. Here our MST region name will be XYZ and our revision number will be 3.

 

Next, we assign a region name and revision number. These are used to identify switches as belonging to a common MST region.

 

Switch 1 (config-mst)# name XYZ
Switch 1 (config-mst)# revision 3

 

Switch 2 (config-mst)# name XYZ
Switch 2 (config-mst)# revision 3

 

Switch 3 (config-mst)# name XYZ
Switch 3 (config-mst)# revision 3

 


 

MST Instance Configuration

Now it is time to create new instances. To have new instances, we need to create this instances. Here, we will create Instance 5. We will add VLAN 1,2,3 and 4 to Instance 5.

 

Switch 1 (config-mst)# instance 5 vlan 1,2,3,4

 

Switch 2 (config-mst)# instance 5 vlan 1,2,3,4

 

Switch 3 (config-mst)# instance 5 vlan 1,2,3,4

 

Again, we will create another instance, instance 10. We will add VLAN 5, 6, 7, 8, 9 and 10 to Instance 10.

 

Switch 1 (config-mst)# instance 10 vlan 5,6,7,8,9,10

 

Switch 2 (config-mst)# instance 10 vlan 5,6,7,8,9,10

 

Switch 3 (config-mst)# instance 10 vlan 5,6,7,8,9,10

 


 

Checking New Instances and Associated VLANs

To check our new instances and the associated VLANs, we can use “show pending” command under MST configuration mode.

 

Switch 1 (config-mst)# show pending
Pending MST configuration
Name [XYZ]
Revision 3 Instances configured 3

Instance Vlans mapped
——– ———————————————————————
0 11-4094
5 1,2,3,4
10 5,6,7,8,9,10
——————————————————————————-

 


 

Manuplating Root Bridge Election for Each Instance

Now, we will set STP Priority values to manuplate root bridge selection for all these instances. As you know, the switch that has lowest bridge priority wins the elections and becomes the Root Bridge.

 

Lesson tags: STP, Spanning Tree, mst
Back to: CCIE Enterprise Infrastructure > STP

Leave a Reply

Your email address will not be published. Required fields are marked *

CCIE Enterprise Infrastructure

Collapse
Expand
Latest Blog Posts