1-29To do... Use the command... RemarksEnable output of port state transitioninformationstp port-log { all |instance instance-id }RequiredThis function is enabled bydefault.Enabling the MSTP FeatureYou must enable MSTP for the device before any other MSTP-related configurations can take effect.Make this configuration on the root bridge and on the leaf nodes separately.Follow these steps to enable the MSTP feature:To do... Use the command... RemarksEnter system view system-view —Enable the MSTP feature globally stp enableRequiredMSTP is globally disabled bydefault.Enter Ethernetinterface view, orLayer 2 aggregateinterface viewinterface interface-typeinterface-numberEnterinterface viewor port groupview Enter port groupviewport-group manualport-group-nameRequiredUse either command.Enable the MSTP feature for theports stp enableOptionalBy default, MSTP is enabledfor all ports after it is enabledfor the device globally.To control MSTP flexibly, you can use the undo stp enable command to disable the MSTP feature forcertain ports so that they will not take part in spanning tree calculation and thus to save the CPUresources of the device.Performing mCheckMSTP has three working modes: STP compatible mode, RSTP mode, and MSTP mode.If a port on a device running MSTP (or RSTP) connects to a device running STP, this port willautomatically migrate to the STP-compatible mode. However, it will not be able to migrate automaticallyback to the MSTP (or RSTP) mode, but will remain working in the STP-compatible mode under thefollowing circumstances:z The device running STP is shut down or removed.z The device running STP migrates to the MSTP (or RSTP) mode.