1-29Enabling MSTPConfiguration procedureFollow these steps to enable MSTP in system view:To do... Use thecommand... RemarksEnter system view system-view —Enable MSTP stp enable RequiredMSTP is disabled by default.Disable MSTP onspecified portsstp interfaceinterface-listdisableOptionalBy default, MSTP is enabled on all ports after youenable MSTP in system view.To enable a switch to operate more flexibly, you candisable MSTP on specific ports. As MSTP-disabledports do not participate in spanning tree calculation,this operation 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 theport stp disableOptionalBy default, MSTP is enabled on all portsafter you enable MSTP in system view.To enable a switch to operate moreflexibly, you can disable MSTP onspecific ports. As MSTP-disabled portsdo not participate in spanning treecalculation, this operation saves CPUresources 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 Ethernet 1/0/1.1) Perform this configuration in system view system-view[Sysname] stp enable[Sysname] stp interface Ethernet 1/0/1 disable2) Perform this configuration in Ethernet port view system-view[Sysname] stp enable[Sysname] interface Ethernet 1/0/1