Hub/Switch Reference Guide
402 STP Commands
NN47250-100 (Version 02.51)
Syntax
clear spantree portvlanpri port-list {all | vlan vlan-id}
Defaults
None.
Access
Enabled.
Usage
WSS Software does not change a port’s priority for VLANs other than the one(s) you specify.
Examples
The following command resets the STP priority for port 20 in VLAN avocado:
WSS# clear spantree portvlanpri 20 vlan avocado
success: change accepted.
See Also
• clear spantree portpri on page 390
• set spantree portpri on page 397
• set spantree portvlanpri on page 398
• show spantree on page 400
clear spantree statistics
Clears STP statistics counters for a network port or ports and resets them to 0.
Syntax
clear spantree statistics port-list [vlan vlan-id]
Defaults
None.
Access
Enabled.
Examples
The following command clears STP statistics counters for ports 5, 11, and 19 through 22, for all
VLANs:
WSS# clear spantree statistics 5,11,19-22
success: change accepted.
port-list List of ports. The port priority is reset to 32 (the default) on the specified
ports.
all Resets the priority for all VLANs.
vlan
vlan-id
VLAN name or number. WSS Software resets the priority for only the
specified VLAN.
port-list List of ports. Statistics counters are reset on the specified ports.
vlan
vlan-id
VLAN name or number. WSS Software resets statistics counters for only
the specified VLAN.










