Content deleted Content added
wording, removed some of the dup linking |
removed some duplinking, lots left to do |
||
Line 1:
{{IPstack}}
{{commons category|MSTP}}
The '''''Multiple Spanning Tree Protocol''''' (MSTP) and [[algorithm]], provides both, simple and full, connectivity assigned to any given [[Virtual LAN]] (VLAN) throughout a Bridged Local Area Network. MSTP uses [[Bridge Protocol Data Unit|BPDUs]] to exchange information between spanning-tree compatible devices, to prevent loops in each [[Multiple Spanning Tree Protocol#Multiple Spanning Tree Instances
Moreover, MSTP allows frames/packets assigned to different VLANs to follow separate paths, each based on an independent
== History ==
It was originally defined in [[Institute of Electrical and Electronics Engineers|IEEE]] 802.1s as an amendment to [[IEEE 802.1Q|802.1Q]], 1998 edition and later merged into
If there is only one VLAN in the network, single (traditional) STP/RSTP will work appropriately but if the network contains more than one VLAN, the logical network configured by single STP/RSTP wouldn’t work as efficiently as it is supposed to, even letting some errors ([[Switching loop|loops]], bad paths…) to appear. Instead, it is possible to make better use of the alternate paths available by using an alternate [[spanning tree]] for different VLANs or groups of VLANs, here is where the necessity of hammering away a new extension of RSTP philosophy into multiple trees organized by VLANs' groups came up.
Line 15:
[[File:MSTI.png|thumb|Different Spanning trees created by different MSTIs on the same physical layout.]]
As MSTP enables grouping and mapping VLANs into different spanning tree instances, there’s an urge of determining a group or set of VLANs, which are all using the same spanning tree, this is what we come to know as a MSTI. <br />
Each instance defines a single forwarding topology for an exclusive set of VLANs, by contrast,
|last = packard
|first = Hewlett
Line 29:
=== MSTP Regions ===
[[File:MST Region.png|thumb|MSTIs in different regions.]]
A set of interconnected switches that must have configured the same VLANs and
* '''MST Configuration Name'''
* '''Revision Level'''
* '''Configuration Digest:''' Mapping of which VLAN are mapped to which MST instances.
An
=== Common and Internal Spanning Tree (CST/CIST) ===
[[File:CIST.png|thumb|CIST operates links between regions and to SST devices.]]
We can differentiate two kinds of conformated Spanning Trees into the different networks created by MSTP, these are:
* '''Common Spanning Tree (CST):''' Administers the connectivity among MST regions, [[Spanning Tree Protocol|STP]]
* '''Common Internal Spanning Tree (CIST):''' Identifies regions in a network and administers the CIST root bridge for the network, for each region and for each spanning tree instance in each region. It’s also the default spanning tree instance of MSTP so that any VLAN which isn’t a member of a particular
The role of the Common Spanning Tree (CST) in a network, and the Common and Internal Spanning Tree (CIST) configured on each device, is to prevent loops within a wider network that may span more than one [[Multiple Spanning Tree Protocol#MSTP Regions|MSTP Region]] and parts of the network running in legacy
=== MSTP Bridge Protocol Data Units (BPDU) ===
{{Main article|Bridge Protocol Data Unit}}
Its main function is enabling MSTP to select its root bridges for the proper [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]] and each
[[Bridge Protocol Data Unit|BPDUs']] general format comprises a common generic portion ''-octets 1 to 36-'' that are based on those defined in [[Institute of Electrical and Electronics Engineers|IEEE]] Standard [[IEEE 802.1D|802.1D]],2004,<ref>{{cite book|last = IEEE|first = Standard|title = IEEE Standard for Local and metropolitan area networks, Media Access Control (MAC) Bridges|publisher = IEEE Computer Society▼
|year = 2004|url = http://www.ccna-powertraining.de/wp-content/uploads/2014/10/802.1D-2004.pdf}}</ref> followed by components that are specific to [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]] ''-octets 37 to 102.'' Components specific to each [[Multiple Spanning Tree Protocol#Multiple Spanning Tree Instances .28MSTI.29|MSTI]] are added to this [[Bridge Protocol Data Unit|BPDUs]] data block.▼
▲
[https://www.alliedtelesis.com/sites/default/files/stp_feature_config_guide.pdf BPDU table info] and [[Spanning Tree Protocol#Bridge Protocol Data Unit fields|STP BPDUs]] ''' show a deeper resume of the MSTP [[Bridge Protocol Data Unit|BPDU]] format''' and, besides, some additional information about how was this object structured in older or different versions of this protocol as [[Spanning Tree Protocol|STP]] and [[Spanning Tree Protocol#Rapid Spanning Tree Protocol|RSTP]], maintaining its compatibility.▼
▲|year = 2004|url = http://www.ccna-powertraining.de/wp-content/uploads/2014/10/802.1D-2004.pdf}}</ref> followed by components that are specific to [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]] ''-octets 37 to 102.'' Components specific to each [[Multiple Spanning Tree Protocol#Multiple Spanning Tree Instances .28MSTI.29|MSTI]] are added to this
▲[https://www.alliedtelesis.com/sites/default/files/stp_feature_config_guide.pdf BPDU table info] and [[Spanning Tree Protocol#Bridge Protocol Data Unit fields|STP BPDUs]] ''' show a deeper resume of the MSTP
=== MSTP Configuration Identification ===
In case there is an allocation of [[IEEE 802.1Q#Double tagging|VIDs (VLAN IDs)]] into a MST Region which differs within the different bridges that compound it, '''frames for some
* '''Configuration Identifier Format Selector:''' Indicates the use which is going to be given to the following components.
* '''Configuration Name'''<ref>{{cite book
Line 90 ⟶ 91:
|url = https://tools.ietf.org/html/rfc2104
}}</ref> A 16B signature [[Hash-based message authentication code|HMAC]]-[[MD5|MD5 Algorithms]] created from the MST Configuration Table.<br />
This object is specific and unique of MSTP, neither
== Protocol Operation ==
MSTP configures for every VLAN a single spanning tree active topology in a manner that there’s at least one data route between any two end stations, eliminating data loops. It specifies various “objects” allowing out the algorithm to operate in a proper way. The different bridges in the various VLANs start advertising their own configuration to other bridges using the MST Configuration Identifier in order to allocate frames with given VIDs (VLAN ID) to any of the different
Additionally, comparisons and calculations done by each bridge select a
In summary, MSTP encodes some additional information in its
== Port Roles ==
Line 103 ⟶ 104:
=== Common Internal Spanning Tree Ports ===
* '''Root:''' Provides the minimum cost path from the Bridge to the [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]] Root through the Regional Root.
* '''Designated:''' Provides the least cost path from the attached
* '''Alternate or Backup:''' Provides connectivity if other Bridges, Bridges [[Port (computer networking)|Ports]] or
=== Multiple Spanning Tree Instance Ports ===
* '''Root:''' Provides the minimum cost path from the Bridge to the
* '''Designated:''' Provides the least cost path from the attached
* '''Master:''' Provides connectivity from the Region to a
* '''Alternate or Backup:''' Provides connectivity if other Bridges, Bridges
== RSTP compatibility ==
MSTP is designed to be [[Spanning Tree Protocol|STP]] and [[Spanning Tree Protocol#Rapid Spanning Tree Protocol|RSTP]] compatible and interoperable without additional operational management practice, this is due to a set of measurements based on [[Spanning Tree Protocol#Rapid Spanning Tree Protocol|RSTP]] (Clause 17 of [[Institute of Electrical and Electronics Engineers|IEEE]] Std [[IEEE 802.1D|802.1D]], 2004 Edition) intending to provide the capability for frames assigned to different VLANs, to be transmitted along different paths within MST Regions.<br />
Both protocols have in common various issues such as: the selection of the [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]] Root Bridge (it uses the same fundamental algorithm, 17.3.1 of [[Institute of Electrical and Electronics Engineers|IEEE]] Std [[IEEE 802.1D|802.1D]], 2004 Edition, but with extended priority vector components within MST Regions), the selection of the [[Multiple Spanning Tree Protocol#Multiple Spanning Tree Instances .28MSTI.29|MSTI]] Root Bridge and computation of [[Port (computer networking)|Port]] roles for each [[Multiple Spanning Tree Protocol#Multiple Spanning Tree Instances .28MSTI.29|MSTI]], the [[Port (computer networking)|Port]] roles used by the [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]] are the same as those of [[Spanning Tree Protocol|STP]] and [[Spanning Tree Protocol#Rapid Spanning Tree Protocol|RSTP]] (with the exception of the Master Port), and the state variables associated with each port. <br />
Into the bargain, they also share some problems as, for instance: MSTP can’t protect against temporary loops caused by the inter-connection of two
For all the above, it can be concluded that MSTP is fully compatible with [[Spanning Tree Protocol#Rapid Spanning Tree Protocol|RSTP]] bridges, an MSTP [[Bridge Protocol Data Unit|BPDU]] can be interpreted by an [[Spanning Tree Protocol#Rapid Spanning Tree Protocol|RSTP]] bridge as an [[Spanning Tree Protocol#Rapid Spanning Tree Protocol|RSTP]] [[Bridge Protocol Data Unit|BPDU]]. This not only allows compatibility with [[Spanning Tree Protocol#Rapid Spanning Tree Protocol|RSTP]] bridges without configuration changes, but also causes any [[Spanning Tree Protocol#Rapid Spanning Tree Protocol|RSTP]] bridges outside of an [[Multiple Spanning Tree Protocol#MSTP Regions|MSTP Region]] to see the region as a single [[Spanning Tree Protocol#Rapid Spanning Tree Protocol|RSTP]] bridge, regardless of the number of MSTP bridges inside the region itself.
Line 130 ⟶ 131:
# Common and Internal Spanning Tree (CIST) is the default spanning tree instance for MSTP. This means that all VLANs that are not explicitly configured into another [[Multiple Spanning Tree Protocol#Multiple Spanning Tree Instances .28MSTI.29|MSTI]] are members of the [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]].
# The software supports a single instance of the MSTP Algorithm consisting of the [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]] and up to 15 [[Multiple Spanning Tree Protocol#Multiple Spanning Tree Instances .28MSTI.29|MSTIs]].
A VLAN can only be mapped to one [[Multiple Spanning Tree Protocol#Multiple Spanning Tree Instances .28MSTI.29|MSTI]] or to the [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]]. One VLAN mapped to multiple spanning trees is not allowed. All the VLANs are mapped to the [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]] by default. Once a VLAN is mapped to a specified [[Multiple Spanning Tree Protocol#Multiple Spanning Tree Instances .28MSTI.29|MSTI]], it is removed from the [[Multiple Spanning Tree Protocol#Common and Internal Spanning Tree .28CST.2FCIST.29|CIST]].To avoid unnecessary [[Spanning Tree Protocol|STP]] processing, a [[Port (computer networking)|Port]] that is attached to a
An example of how to configure a simple, three switch SMTP topology wherein a layer-two access switch carries four VLANs and has two uplinks to two distribution switches, can be found here: [http://packetlife.net/blog/2010/apr/26/multiple-spanning-tree-mst/ MSTP Configuration Guide]<br />
Line 203 ⟶ 204:
==== ARP and ABridge Resolution ====
As any layer-two based protocol, ABridges uses [[Address Resolution Protocol|ARP]] broadcasts to obtain the [[link layer]] address associated to an IP address at the same
==See also==
|