MSTP example configuration

This example shows how to create an MSTP instance from the switch. The example network includes three different switches that serve different locations in the network. In he following figure, ports 1/0/1–1/0/5 are connected to host stations, so those links are not subject to network loops. Ports 1/0/6–1/0/8 are connected across switches 1, 2, and 3.

Figure 1. MSTP sample configuration


Perform the following procedures on each switch to configure MSTP:

  1. Use the VLAN Configuration page to create VLANs 300 and 500 (see Change the internal VLAN allocation settings).
  2. On the VLAN Membership page, include ports 1 through 8 as tagged (T) or untagged (U) members of VLAN 300 and VLAN 500 (see Change the internal VLAN allocation settings).
  3. On the STP Configuration page, enable the Spanning Tree State option (see Configure the CST interface settings).

    Use the default values for the rest of the STP configuration settings. By default, the STP operation mode is MSTP and the configuration name is the switch MAC address.

  4. On the CST Configuration page, set the bridge priority value for each of the three switches to force Switch 1 to be the root bridge:
    • Switch 1: 4096

    • Switch 2: 12288

    • Switch 3: 20480

    Note: Bridge priority values are multiples of 4096.

    If you do not specify a root bridge and all switches are assigned the same bridge priority value, the switch with the lowest MAC address is elected as the root bridge (see Configure the CST settings and display the CST status).

  5. On the CST Port Configuration page, select ports 1 through 8 and select Enable from the STP Status menu (see Configure the CST interface settings).
  6. Click the Apply button.
  7. Select ports 1 through 5 (edge ports), and select Enable from the Fast Link menu.

    Because the edge ports are not at risk for network loops, ports with Fast Link enabled transition directly to the forwarding state.

  8. Click the Apply button.

    You can use the CST Port Status page to view spanning tree information about each port.

  9. On the MST Configuration page (Manage MST instances), create an MST instance with the following settings:
    • MST ID: 1

    • Priority: Use the default (32768)

    • VLAN ID: 300

  10. Click the Add button.
  11. Create a second MST instance with the following settings:
    • MST ID: 2
    • Priority: 49152
    • VLAN ID: 500
  12. Click the Add button.

In this example, assume that Switch 1 became the root bridge for the MST instance 1, and Switch 2 became the root bridge for MST instance 2. Switch 3 supports hosts in the sales department (ports 1, 2, and 3) and in the HR department (ports 4 and 5). Switches 1 and 2 also include hosts in the sales and HR departments. The hosts connected from Switch 2 use VLAN 500, MST instance 2 to communicate with the hosts on Switch 3 directly. Likewise, hosts of Switch 1 use VLAN 300, MST instance 1 to communicate with the hosts on Switch 3 directly.

The hosts use different instances of MSTP to effectively use the links across the switch. The same concept can be extended to other switches and more instances of MSTP.