754 Spanning Tree CommandsRSTP-PV maintains independent spanning tree information about eachconfigured VLAN. RSTP-PV uses IEEE 802.1Q trunking and allows a trunkedVLAN to maintain blocked or forwarding state per port on a per VLAN basis.This allows a trunk port to be forwarding for some VLANs and blocked onother VLANs.RSTP-PV extends the IEEE 802.1w standard. It supports faster convergencethan IEEE 802.1D. RSTP-PV is compatible with IEEE 802.1D spanning tree.RSTP-PV sends BPDUs on all ports instead of only the root bridge sendingBPDUs and supports the discarding, learning, and forwarding states.When the mode is changed to rapid-pvst, version 0 STP BPDUs are no longertransmitted and version 2 RSTP-PV BPDUs that carry per-VLAN informationare transmitted on the VLANs enabled for spanning-tree. If a version 0 BPDUis seen, RSTP-PV reverts to sending version 0 BPDUs.RSTP-PV embeds support for STP-PV Indirect Rapid Convergence andDirect Rapid Convergence. There is no provision to enable or disable thesefeatures in RSTP-PV.ExampleThe following example configures the spanning-tree protocol to MSTP.console(config)#spanning-tree mode mstspanning-tree mst configurationUse the spanning-tree mst configuration command in Global Configurationmode to enable configuring an MST region by entering the multiplespanning-tree (MST) mode.Syntaxspanning-tree mst configurationDefault ConfigurationThis command has no default configuration.Command ModeGlobal Configuration mode