The Ultimate Guide to Multiple Spanning Tree Protocol

Introduction

MSTP or Multiple spanning tree protocol is based on IEEE 802.1s standard. MSTP is a protocol which maps multiple VLANs to a single instance.
Before MSTP, normal STP 802.1d or Rapid STP 802.1 which maps single vlan to a single STP instance. MSTP uses the rapid spanning tree protocol features
such as fast convergence, port states, port roles, edge ports and link types. However, with these functionalities, MSTP has also added some new features like regions, instances and mapping.

Lab diagram for Multiple Spanning Tree Protocol

Below is the lab diagram for multiple spanning-tree protocol;

Lab topology for multiple spanning tree protocol
  • Configure the hostname of each switch as SW1, SW2, and SW3
  • Set the domain vtp mode as server and domain name as “marwat”
  • Establish a trunk link among all three switches
Basic  multiple spanning tree protocol switch configurations

Create 15 vlans from vlan 6 to vlan 20 at switch 1.

Create vlans

Check the trunk links of all the switches below;

show interface trunk

MSTP Configuration

We will define each MST command in the screenshots below. Go to global configuration mode and configure spanning-tree mode as most.

 setting mst mode

Enter into mst configuration through the following command

mst configuration

Assign name to the mst region;

assigning name to mst

Set the revision number from 0 to 4094;

setting up revision number

Map the VLANs from 6 to 12 with MST instance. There were 16 multiple spanning tree instances in the old IOS, but now it supports 4095 instances. It is the first mst instance on the switch.

Create another instance 2 and map vlans from 13 to 20.

creating 2nd instance for vlan 13-20

The next step is to create primary and secondary roots, for instance 1 and instance 2.

 primary and secondary root

Now configure multiple spanning tree protocols on the switch2 and switch.

switch2 and switch3 multiple spanning tree protocol  configuration

Now check how many instances are running on the switch.

 show mst configuration on switch1

Three instances are running on the switch which are mst 0, 1, and 2. Those vlans that we didn’t map to any MST instance are included in the MST 0. While we configure Vlans for MST 1 and MST2.

Now run another command “show spanning-tree mst 0” to check MSt 0 instance on switch1;

show mst 0 1 and 2 on switch1

Similarly, check Multiple spanning-tree 0, 1, and 2 on switch2;

 show mst 0 1 and 2 on switch2

While at the last check on Switch3;

 shwo mst 0 1 and 2 on switch3

Similar Posts

Leave a Reply

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