Configuring Multiple Spanning Tree Protocol (MSTP)


Multiple Spanning Tree Protocol as defined in IEEE802.1s or IEEE802.1Q-2005 provides the ability to manage multiple VLANs using Multiple Spanning Tree Instances (MSTIs). MSTP allows the formation of MST regions that can run multiple MSTIs. MSTP regions and other STP bridges are interconnected using the Common and Internal Spanning Tree (CIST).


MSTP regions are defined to be a collection of switches that have the same VLANs configured on all of them. All switches in a region must have the same configuration name, revision level, VLANs, and VLAN to MSTI associations. Each MST region may have multiple MSTIs operating within it but an MSTI cannot span multiple regions. Each MSTI must have a regional root which it may or may not share with another MSTI.


The CIST is the default spanning tree instance in MSTP. CIST forms a larger spanning tree for the entire bridged network by combining MSTP regions and single-instance spanning trees. The CIST instance has an MSTI ID of 0 which cannot be deleted or changed. When a new port-based or tagged VLAN is created, it is associated with the CIST by default and is automatically given an MSTI ID of 0. The default VLAN on a switch is also associated with the CIST. When a VLAN is assigned to an MSTI, it partially remains a member of the CIST. This is because CIST is used by MSTP to enable communication with MSTP regions and RSTP/STP single-instances in the network. CIST also has regional roots.


The switch with the lowest CIST priority value functions as the root bridge for all the MSTP regions and STP/ RSTP single-instance spanning trees in the network.


The following commands support the configuration of MST instances on a local switch:

 

CLI (network-admin@Leaf1) > mst-config-create


instance-id 0..64

Specify the ID as a number between 1 and 64 for MST configuration. MST ID 0 corresponds to the CIST instance.

vlans vlan-list

Specify the list of VLANs associated with the MST configuration 

bridge-priority 0..61440

Specify the bridge priority as a number between 0 and 61440 which is a multiple of 4096. For example, the values can be 0, 4096, 8192, up to 61440. The default value is 32768.

 

Prior to Netvisor ONE version 6.0.1, VLAN 1 could not be configured on any MST instance ID except 0.  Netvisor ONE 6.0.1 release eliminates this constraint. For example:


CLI (network-admin@Leaf1) > mst-config-create instance-id 10 vlans 1-20


Use the mst-config-show command to view the current configuration:


CLI (network-admin@Leaf1) > mst-config-show                          

switch instance-id vlans        bridge-priority

Leaf1  0           21-4093,4095 32768

Leaf1  10          1-20         32768

Leaf1  64          4094         32768


In the above example, VLAN 1 is configured on instance ID 10.


You can modify the MST instance by using the command:

 

CLI (network-admin@Leaf1) > mst-config-modify


instance-id 0..64

Specify the ID as a number between 1 and 64 for MST configuration. MST ID 0 corresponds to the CIST instance.

Specify one or more of the following options:


vlans vlan-list

Specify the list of VLANs associated with the MST configuration.

bridge-priority 0..61440

Specify the bridge priority as a number between 0 and 61440 which is a multiple of 4096. For example, the values can be 0, 4096, 8192, up to 61440. The default value is 32768.


Use the mst-config-delete command to delete the configuration.


CLI (network-admin@Leaf1) > mst-config-delete


instance-id 0..64

Specify the MST instance ID that needs to be deleted. 


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south