Operation Manual

STP Commands
Mobility System Software Command Reference Guide
Version 7.3
13 – 364
Examples
The following command sets the bridge priority of VLAN pink to 69:
MX# set spantree priority 69 vlan pink
success: change accepted.
See Also
show spantree on page 13-364
set spantree uplinkfast
Enables or disables STP uplink fast convergence on an MX. This feature enables an MX with
redundant links to the network backbone to immediately switch to the backup link to the root
bridge if the primary link fails.
Syntax
set spantree uplinkfast {enable | disable}
Defaults
Disabled.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Usage
The uplink fast convergence feature is applicable to bridges acting as access switches to
the network core (distribution layer) but are not in the core themselves. Do not enable the feature
on MX switches that are in the network core.
Examples
The following command enables uplink fast convergence:
MX# set spantree uplinkfast enable
success: change accepted.
See Also
show spantree uplinkfast on page 13-373
show spantree
Displays STP configuration and port-state information.
Syntax
show spantree [port port-list | vlan vlan-id] [active]
Defaults
None.
Access
All.
History
enable Enables uplink fast convergence.
disable Disables uplink fast convergence.
port port-list List of ports. If you do not specify any ports, MSS displays STP information for all
ports.
vlan
vlan-id
VLAN name or number. If you do not specify a VLAN, MSS displays STP information
for all VLANs.
active Displays information for only the active (forwarding) ports.
Version 1.0 Command introduced
Version 4.2 Value STP Off added for STP-State and Port-State fields. This state indicates that
STP is disabled on the port. The Disabled state is still used, but only to indicate that
the port is not forwarding traffic.