42• STP-compatible mode—The router sends out STP BPDUs through all ports.• RSTP mode—The router sends out RSTP BPDUs through all ports, and ports that connect to STPdevices automatically transitions to the STP-compatible mode.• MSTP mode—The router sends out MSTP BPDUs through all ports, and ports that connect to STPdevices automatically transitions to the STP-compatible mode.To set the spanning tree mode:Step Command Remarks1. Enter system view. system-view N/A2. Set the spanning tree mode. stp mode { stp | rstp | mstp } The default setting is MSTPmode.Configuring an MST regionTo configure an MST region:Step Command Remarks1. Enter system view. system-view N/A2. Enter MST region view. stp region-configuration N/A3. Configure the MST regionname. region-name nameOptional.The MST region name is the MACaddress by default.4. Configure theVLAN-to-instance mappingtable.• instance instance-id vlanvlan-list• vlan-mapping modulo moduloOptional.Use either command.All VLANs in an MST region aremapped to the CIST (or MSTI 0) bydefault.5. Configure the MSTP revisionlevel of the MST region. revision-level level Optional.The default setting is 0.6. Display the MST regionconfigurations that are notactivated yet.check region-configuration Optional.7. Activate MST regionconfiguration manually. active region-configuration N/A8. Display the activatedconfiguration information ofthe MST region.display stp region-configuration [ |{ begin | exclude | include }regular-expression ]Optional.Available in any view