Operation Manual

STP Commands 13 – 355
13
STP Commands
Use Spanning Tree Protocol (STP) commands to configure and manage spanning trees on the
virtual LANs (VLANs) configured on an MX, to maintain a loop-free network. This chapter
presents STP commands alphabetically. Use the following table to locate commands in this
chapter based on their use.
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 an MX.
Syntax
clear spantree portcost port-list
Defaults
None.
STP State set spantree on page 13-358
show spantree on page 13-364
show spantree blockedports on page 13-367
Bridge Priority set spantree priority on page 13-363
Port Cost set spantree portcost on page 13-360
set spantree portvlancost on page 13-362
show spantree portvlancost on page 13-368
clear spantree portcost on page 13-355
clear spantree portvlancost on page 13-357
Port Priority set spantree portpri on page 13-362
set spantree portvlanpri on page 13-363
clear spantree portpri on page 13-356
clear spantree portvlanpri on page 13-357
Timers set spantree fwddelay on page 13-359
set spantree hello on page 13-359
set spantree maxage on page 13-360
Fast Convergence set spantree portfast on page 13-361
show spantree portfast on page 13-367
set spantree backbonefast on page 13-359
show spantree backbonefast on page 13-366
set spantree uplinkfast on page 13-364
show spantree uplinkfast on page 13-373
Statistics show spantree statistics on page 13-369
clear spantree statistics on page 13-358
port-list List of ports. The port cost is reset on the specified ports.