QTECH(config)#spanning-tree
!Disable STP on Ethernet 0/8
QTECH(config-if-ethernet-0/8)#no spanning-tree
7.1.3 spanning-tree cost
Use spanning-tree cost command to configure the path cost of the current port in
a specified spanning tree. Use no spanning-tree cost command to restore to the
default path cost of the current port in the specified spanning tree.
spanning-tree cost cost
no spanning-tree cost
【Parameter】
cost:Path cost to be configured for the port. This keyword ranges from 1 to 65535
【Default】
In IEEE 802.1D protocol, the default cost is determined by the speed of the port.
The port with the speed 10M have the cost of 100,100M, 19.
【Command configuration mode】
7-4