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 12‐2
• setspantreeportcostonpage 12‐12
• setspantreeportvlancostonpage 12‐16
• showspantreeonpage 12‐20
• showspantreeportvlancostonpage 12‐27
port‐list Listofports.Theportcostisresetonthespecifiedports.
all ResetsthecostforallVLANs.
vlanvlan‐id
VLANnameornumber.MSSresetsthe costforonlythespecifiedVLAN.