320 CHAPTER 10: STP COMMANDS
clear spantree
portcost
Resets to the default value the cost of a network port or ports on paths to
the STP root bridge in all VLANs on a WX switch.
Syntax —
clear spantree portcost port-list
port-list — List of ports. The port cost is reset on the specified ports.
Defaults — None.
Access — Enabled.
History —Introduced in MSS Version 3.0.
Usage — This command resets the cost in all VLANs. To reset the cost for
only specific VLANs, use the clear spantree portvlancost command.
Examples — The following command resets the STP port cost on ports 5
and 6 to the default value:
WX1200# clear spantree portcost 5-6
success: change accepted.
See Also
clear spantree portvlancost on page 321
display spantree on page 324
display spantree portvlancost on page 329
set spantree portcost on page 340
set spantree portvlancost on page 343
Fast
Convergence,
cont.
set spantree backbonefast on page 337
display spantree backbonefast on
page 326
set spantree uplinkfast on page 345
display spantree uplinkfast on page 335
Statistics display spantree statistics on page 329
clear spantree statistics on page 323
Table 59 STP Commands by Usage (continued)
Type Command