8 spanning-tree, 9 spanning-tree cost, 8 spanning-tree -102 – PLANET XGS3-24042 User Manual
Page 256: 9 spanning-tree cost -102

14-102
14.1.8 spanning-tree
Command:
spanning-tree
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/0/2.
Switch(config)#spanning-tree
Switch(config)#interface ethernet 1/0/2
Switch(Config-If-Ethernet1/0/2)#no spanning-tree
14.1.9 spanning-tree cost
Command:
spanning-tree cost
no spanning-tree cost
Function:
Sets path cost of the current port; the command “no spanning-tree cost” restores the default
setting.
Command mode:
Port Mode
Parameter:
Default:
By default, the port cost is relevant to the port bandwidth.
Port Type
Default Path Cost
Suggested Range
10Mbps
2000000
2000000~20000000