3com WX1200 3CRWX120695A Manuel D’Utilisation
484
C
HAPTER
12: STP C
OMMANDS
clear spantree
portcost
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.
the STP root bridge in all VLANs on a WX.
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.
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:
and 6 to the default value:
WX1200# clear spantree portcost 5-6
success: change accepted.
See Also
Fast
Convergence,
cont.
Convergence,
cont.
Statistics
Table 74 STP Commands by Usage (continued)
Type
Command