Specifications

12-2 STP Commands
clear spantree portcost
ResetstothedefaultvaluethecostofanetworkportorportsonpathstotheSTProotbridgeinall
VLANsonaRoamAboutswitch.
Syntax
clear spantree portcost port-list
Parameters
Defaults
None.
Mode
Enabled.
Usage
Thiscommand resetsthecostinallVLANs.ToresetthecostforonlyspecificVLANs,usetheclear
spantreeportvlancostcommand.
Example
ThefollowingcommandresetstheSTPportcostonports5and6tothedefaultvalue:
RBT-8100# clear spantree portcost 5-6
success: change accepted.
Related Commands
clearspantreeportvlancostonpage 124
setspantreeportcostonpage 1212
setspantreeportvlancostonpage 1216
showspantreeonpage 1220
showspantreeportvlancostonpage 1227
portlist Listofports.Theportcostisresetonthespecifiedports.