MSTP - Multiple Spanning Tree Protocol ========================================= .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What is MSTP?** MSTP stands for **Multiple Spanning Tree Protocol**. It is an evolution of the Spanning Tree Protocol (STP) and Rapid STP (RSTP) defined in IEEE 802.1s, allowing multiple spanning trees over a single physical network topology. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Why is MSTP useful?** * It allows **better load balancing** by enabling multiple VLANs to use different spanning trees. * **Improves network redundancy** and fault tolerance. * **Reduces convergence time** compared to traditional STP. * Helps in **preventing loops** in Layer 2 networks. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **How it works?** * MSTP groups VLANs into **Multiple Spanning Tree Instances (MSTIs)**. * Each instance runs its own STP algorithm over the network. * A special region called an **MST Region** defines which VLANs are mapped to which MSTI. * Network switches exchange **Bridge Protocol Data Units (BPDUs)** to elect root bridges and build loop-free topologies per instance. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Where is MSTP used?** * Large Layer 2 enterprise networks. * Data centers where **VLAN segmentation and redundancy** are crucial. * Managed switches and enterprise-grade networking equipment. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which OSI layer does this protocol belong to?** * MSTP operates at **Layer 2 (Data Link Layer)** of the OSI model. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **IS MSTP windows specific?** * No, MSTP is **not Windows-specific**. * It is a network protocol implemented in **network switches and routers**, not operating systems. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **IS MSTP Linux Specific?** * No, MSTP is **not Linux-specific**. * However, some Linux-based systems or routers may implement MSTP via networking tools or bridge configurations. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Transport Protocol is used by MSTP?** * MSTP does **not use transport protocols like TCP or UDP**. * It uses **Bridge Protocol Data Units (BPDUs)** directly at Layer 2 over Ethernet frames. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Port is used by MSTP?** * MSTP does **not use any port numbers**. * It uses a **special Ethernet multicast address** to send BPDUs: `01:80:C2:00:00:00`. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is MSTP using Client server model?** * No, MSTP does **not follow a client-server model**. * It is a **peer-to-peer protocol** where switches coordinate to manage network topology. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Learnings in this section ` * :ref:`Terminology ` * :ref:`Version Info ` * :ref:`MSTP Version&IEEE Details ` * :ref:`MSTP Basic Setup on Ubuntu using IPv4 ` * :ref:`MSTP Basic Setup on Ubuntu using IPv6 ` * :ref:`MSTP Protocol Packet Details ` * :ref:`MSTP Usecases ` * :ref:`MSTP Basic Features ` * :ref:`Reference links ` .. _MSTP_step1: .. tab-set:: .. tab-item:: Learnings in this section * In this section, you are going to learn .. _MSTP_step2: .. tab-set:: .. tab-item:: Terminology * Terminology .. _MSTP_step3: .. tab-set:: .. tab-item:: Version Info * Version Info .. _MSTP_step5: .. tab-set:: .. tab-item:: MSTP Version&RFC Details * rfc details .. _MSTP_step18: .. tab-set:: .. tab-item:: MSTP Basic Setup on Ubuntu using IPv4 * setup .. _MSTP_step19: .. tab-set:: .. tab-item:: MSTP Basic Setup on Ubuntu using IPv6 * setup .. _MSTP_step6: .. tab-set:: .. tab-item:: MSTP Protocol Packet Details * packet details .. _MSTP_step7: .. tab-set:: .. tab-item:: MSTP Usecases * usecases .. _MSTP_step8: .. tab-set:: .. tab-item:: MSTP Basic Features * features .. _MSTP_step17: .. tab-set:: .. tab-item:: Reference links * Reference links