Operation Manual
STP Commands
Mobility System Software Command Reference Guide
Version 7.3
13 – 356
Access
Enabled.
History
Introduced in MSS Version 1.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:
MX# clear spantree portcost 5-6
success: change accepted.
See Also
● clear spantree portvlancost on page 13-357
● set spantree portcost on page 13-360
● set spantree portvlancost on page 13-362
● show spantree on page 13-364
● show spantree portvlancost on page 13-368
clear spantree portpri
Resets the configuration to the default value for the priority of a network port or ports for
selection as part of the path to the STP root bridge in all VLANs on an MX.
Syntax
clear spantree portpri port-list
Defaults
None.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Usage
This command resets the priority in all VLANs. To reset the priority for only specific
VLANs, use the clear spantree portvlanpri command.
Examples
The following command resets the STP priority on port 9 to the default:
MX# clear spantree portpri 9
success: change accepted.
See Also
● clear spantree portvlanpri on page 13-357
● set spantree portpri on page 13-362
● set spantree portvlanpri on page 13-363
● show spantree on page 13-364
port-list List of ports. The port priority is reset to 32 (the default) on the specified ports.