• Multiple Spanning Tree (MST), defined in IEEE 802.1s and now part of 802.1Q, is a Layer 2 protocol that lets you group multiple VLANs into a single spanning tree instance.
    Before seeing how it works, you need to feel the problem it solves on a real enterprise network.

    The Network You Inherited

    You are the network engineer of a mid-sized company.
    Three distribution switches, SW1, SW2, SW3 carry every VLAN of the business.

    expensive network link on a network

    Figure 1 – Triangle links, four VLANs

    Behind them sit four departments: Finance and HR on VLAN 10 and 20, Engineering and Sales on VLAN 30 and 40.

    The three switches are wired in a full triangle with three 10 Gbps uplinks. The company paid for that redundancy, so all three links should carry traffic, yet you'll see in a moment that classic spanning tree wastes one of them.

    Answer the question below

    Read the topology and continue.

    Per-VLAN Architecture in Rapid-PVST+

    By default, Cisco switches utilize a Per-VLAN implementation of Spanning Tree (PVST+ or Rapid-PVST+), where a dedicated STP instance is maintained for every configured VLAN. For instance, a network with four active VLANs will result in four distinct, independent spanning tree topologies.

    Each tree elects a root bridge using the same criteria: lowest Bridge ID wins.

    spanning tree root bridge blocked link

    Figure 2 – All VLANs toward SW1

    Since all your switches have the default priority of 32768, the switch with the lowest MAC address is elected, let's say SW1.
    The four trees all pick the same root. And if four trees have the same root, they all block the same redundant link to prevent loops.

    The link between SW2 and SW3 is now blocked for every VLAN.

    spanning tree blocked link wasted bandwidth\n

    Figure 3 – SW2-SW3 link blocked (PVST+)

    One of your three 10 Gbps uplinks carries zero packets.
    The company paid for redundancy and capacity, and Rapid-PVST+ only gives you redundancy.

    Answer the question below

    In Rapid-PVST+, how many spanning tree instances run when you have 4 VLANs?