Specifications

12-4 STP Commands
clear spantree portvlancost
ResetstothedefaultvaluethecostofanetworkportorportsonpathstotheSTProotbridgefora
specificVLANonaRoamA boutswitch,orforallVLANs.
Syntax
clear spantree portvlancost port-list {all | vlan vlan-id}
Parameters
Defaults
None.
Mode
Enabled.
Usage
MSSdoesnotchangeaport’scostforVLANsotherthantheone(s)youspecify.
Example
ThefollowingcommandresetstheSTPcostforport12inVLANsunflower:
RBT-8100# clear spantree portvlancost 12 vlan sunflower
success: change accepted.
Related Commands
clearspantreeportcostonpage 122
setspantreeportcostonpage 1212
setspantreeportvlancostonpage 1216
showspantreeonpage 1220
showspantreeportvlancostonpage 1227
portlist Listofports.Theportcostisresetonthespecifiedports.
all ResetsthecostforallVLANs.
vlanvlanid
VLANnameornumber.MSSresetsthe costforonlythespecifiedVLAN.