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 12‐4
• setspantreeportcostonpage 12‐12
• setspantreeportvlancostonpage 12‐16
• showspantreeonpage 12‐20
• showspantreeportvlancostonpage 12‐27
port‐list Listofports.Theportcostisresetonthespecifiedports.