Configuring the Per-VLAN Spanning Tree on the MCT Clients Example
External connections between clients other than the links in an MCT cluster can cause Layer 2 loops. Use STP on the MCT clients so that the MCT cluster forwards STP Bridge Protocol Data Units (BPDUs) as if the cluster were in pass-through mode.
The MCT client configuration uses Per-VLAN Spanning Tree (PVST) on the two MCT VLANS, 1901 and 1905, to use Rapid Spanning Tree (RSTP or 802.1w). The following examples are based on the network topology shown in Using STP in an MCT Configuration.
Client 1 Configuration
Client-1(config)# vlan 1901 1905 Client-1(config-mvlan-1901*1905)# spanning-tree 802-1w Client-1(config-mvlan-1901*1905)# end
Client 2 Configuration
Client-2(config)# vlan 1901 Client-2(config-vlan-1901)# spanning-tree 802-1w Client-2(config-vlan-1901)# spanning-tree 802-1w priority 4095 Client-2(config-vlan-1901)# vlan 1905 Client-2(config-vlan-1901)# spanning-tree 802-1w Client-2(config-vlan-1901)# end
The MCT cluster switches do not have the spanning tree configured, but the BPDUs are passed through, and the STP on the clients converges.
Use the
show 802-1w vlan command to display the RSTP information for the specified port-based VLAN.