1-28z MSTP provides the MSTP packet format incompatibility guard function. In MSTP mode, if a port isconfigured to recognize/send MSTP packets in a mode other than auto, and if it receives a packetin a format different from the specified type, the port will become a designated port and remain inthe discarding state to prevent the occurrence of a loop.z MSTP provides the MSTP packet format frequent change guard function. If a port receives MSTPpackets of different formats frequently, this means that the MSTP packet format configurationcontains errors. In this case, if the port is working in MSTP mode, it will be disabled for protection.Those ports closed thereby can be restored only by the network administers.Configuration example# Configure GigabitEthernet 1/0/1 to receive and send standard-format MSTP packets. system-view[Sysname] interface gigabitethernet 1/0/1[Sysname-GigabitEthernet1/0/1] stp compliance dot1sEnabling the Output of Port State Transition InformationIn a large-scale, MSTP-enabled network, there are a large number of MSTIs, so ports may frequentlytransition from one state to another. In this situation, you can enable devices to output the port statetransition information of all MSTIs or the specified MSTI so as to monitor the port states in real time.Follow these steps to enable output of port state transition information:To do... Use the command... RemarksEnter system view system-view —Enable output of port state transitioninformation of all MSTIs or aparticular MSTIstp port-log { all |instance instance-id }OptionalThis function is enabled bydefault.Enabling the MSTP FeatureConfiguration procedureFollow these steps to enable the MSTP feature:To do... Use the command... RemarksEnter system view system-view —Enable the MSTP feature for thedevice stp enableRequiredMSTP is disabled globally bydefault.