Command Reference Guide

372 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 373
display spantree on page 376
display spantree portvlancost on page 381
set spantree portcost on page 392
set spantree portvlancost on page 395
Fast
Convergence,
cont.
set spantree backbonefast on page 389
display spantree backbonefast on
page 378
set spantree uplinkfast on page 397
display spantree uplinkfast on page 387
Statistics display spantree statistics on page 381
clear spantree statistics on page 375
Table 68 STP Commands by Usage (continued)
Type Command