Hub/Switch Reference Guide
STP Commands 401
Nortel WLAN—Security Switch 2300 Series Command Line Reference
See Also
• clear spantree portvlanpri on page 391
• set spantree portpri on page 397
• set spantree portvlanpri on page 398
• show spantree on page 400
clear spantree portvlancost
Resets to the default value the cost of a network port or ports on paths to the STP root bridge for a specific VLAN on a
WSS, or for all VLANs.
Syntax
clear spantree portvlancost port-list {all | vlan vlan-id}
Defaults
None.
Access
Enabled.
Usage
WSS Software does not change a port’s cost for VLANs other than the one(s) you specify.
Examples
The following command resets the STP cost for port 12 in VLAN sunflower:
WSS# clear spantree portvlancost 12 vlan sunflower
success: change accepted.
See Also
• clear spantree portcost on page 390
• set spantree portcost on page 395
• set spantree portvlancost on page 397
• show spantree on page 400
• show spantree portvlancost on page 406
clear spantree portvlanpri
Resets to the default value the priority of a network port or ports for selection as part of the path to the STP root bridge,
on one VLAN or all VLANs.
port-list List of ports. The port cost is reset on the specified ports.
all Resets the cost for all VLANs.
vlan
vlan-id
VLAN name or number. WSS Software resets the cost for only the
specified VLAN.










