Spanning Tree | 1571. Configure switch R7. Enable STP globally and on associated ports; create MST instances andassociated VLANs:2. Configure switch R4, exactly as above. The fact that this example shows the same port numbersparticipating in the same two VLANs on each participating switch — R4, R5, and R7 — is simply anexpedient way to clone the configuration steps.3. Configure switch R5, exactly as above.4. Use the show spanning-tree command to verify the STP convergence (see Figure 10-119 on page 159)and show spanning-tree mst port summary command (see Figure 10-125 on page 162) for behavior ofports participating in the spanning tree.Display Spanning Tree ConfigurationUse the following commands to display MSTP configuration.Note: Another configuration example is in Example of configuring STP on page 152.Command Syntax Command Mode Purposeshow spanning-tree summary Privileged Exec Display STP settings and parameters for the switch.See Figure 10-116 on page 158.show spanning-tree [brief] Privileged Exec Display settings and parameters for the CIST. SeeFigure 10-118 on page 159.show spanning-tree mst summary Privileged Exec Display settings and parameters for all MSTinstances.R4 (Config)#interface vlan 2R4 (Conf-if-vl-2)#tagged 1/0/2R4 (Conf-if-vl-2)#tagged 1/0/3R4 (Conf-if-vl-2)#exitR4 (Config)#interface vlan 3R4 (Conf-if-vl-3)tagged 1/0/2R4 (Conf-if-vl-3)tagged 1/0/3R4 (Config)#spanning-treeR4 (Config)#spanning-tree configuration name span1R4 (Config)#spanning-tree configuration revision 1R4 (Config)#spanning-tree msti instance 2R4 (Config)#spanning-tree msti vlan 2 2R4 (Config)#spanning-tree msti instance 3R4 (Config)#spanning-tree msti vlan 3 3R4 (Config)#interface 1/0/2R4 (Interface 1/0/2)#no shutdownR4 (Interface 1/0/2)#spanning-tree port mode enableR4 (Interface 1/0/2)#exitR4 (Config)#interface 1/0/3R4 (Interface 1/0/3)#no shutdownR4 (Interface 1/0/3)#spanning-tree port mode enableR4 (Interface 1/0/3)#exitMST instance ID followed by VLAN ID