9 spanning-tree cost, 9 spanning-tree cost -98 – PLANET WGSW-52040 User Manual
Page 329

19-98
no spanning-tree
Function:
Enable MSTP in global mode and in Port Mode; The command “no spanning-tree” is to disable MSTP.
Command mode:
Global Mode and Port Mode
Default:
MSTP is not enabled by default.
Usage Guide:
If the MSTP is enabled in global mode, the MSTP is enabled in all the ports except for the ports which are set to
disable the MSTP explicitly.
Example:
Enable the MSTP in global mode, and disable the MSTP in the interface1/2.
Switch(config)#spanning-tree
Switch(config)#interface ethernet 1/2
Switch(Config-If-Ethernet1/2)#no spanning-tree
19.1.9 spanning-tree cost
Command:
spanning-tree cost <cost>
no spanning-tree cost
Function:
Sets path cost of the current port; the command “no spanning-tree cost” restores the default setting.
Parameter:
<cost> sets path cost. The valid range is from 1 to 200,000,000.
Command mode:
Port Mode
Default: