1-28To do... Use the command... RemarksEnable MSTP stp enable RequiredMSTP is disabled by default.Disable MSTP onspecified portsstp interfaceinterface-list disableOptionalBy default, MSTP is enabled on all ports after you enableMSTP in system view.To enable a switch to operate more flexibly, you candisable MSTP on specific ports. As MSTP-disabled portsdo not participate in spanning tree calculation, thisoperation saves CPU resources of the switch.Follow these steps to enable MSTP in Ethernet port view:To do... Use the command... RemarksEnter system view system-view —Enable MSTP stp enable RequiredMSTP is disabled by default.Enter Ethernet port view interface interface-typeinterface-number —Disable MSTP on the port stp disableOptionalBy default, MSTP is enabled on all ports afteryou enable MSTP in system view.To enable a switch to operate more flexibly,you can disable MSTP on specific ports. AsMSTP-disabled ports do not participate inspanning tree calculation, this operationsaves CPU resources of the switch.Other MSTP-related settings can take effect only after MSTP is enabled on the switch.Configuration example# Enable MSTP on the switch and disable MSTP on GigabitEthernet 1/0/1.1) Perform this configuration in system view system-view[Sysname] stp enable[Sysname] stp interface GigabitEthernet 1/0/1 disable2) Perform this configuration in Ethernet port view system-view[Sysname] stp enable[Sysname] interface GigabitEthernet 1/0/1[Sysname-GigabitEthernet1/0/1] stp disableConfiguring Leaf NodesConfiguring the MST RegionRefer to Configuring an MST Region.