A SERVICE OF

logo

316 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 317
“display spantree” on page 320
“display spantree portvlancost” on page 325
“set spantree portcost” on page 336
“set spantree portvlancost” on page 338
Fast
Convergence,
cont.
“set spantree backbonefast” on page 333
“display spantree backbonefast” on page 322
“set spantree uplinkfast” on page 341
“display spantree uplinkfast” on page 331
Statistics “display spantree statistics” on page 325
“clear spantree statistics” on page 319
Table 59 STP Commands by Usage (continued)
Type Command