484 CHAPTER 12: 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.
Syntaxclear 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 485
display spantree on page 488
display spantree portvlancost on page 494
set spantree portcost on page 505
set spantree portvlancost on page 508
Fast
Convergence,
cont.
set spantree backbonefast on page 502
display spantree backbonefast on page 491
set spantree uplinkfast on page 510
display spantree uplinkfast on page 500
Statistics display spantree statistics on page 494
clear spantree statistics on page 487
Table 74 STP Commands by Usage (continued)
Type Command