Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


protocols (STP Type)


Hierarchy Level


Configure the Spanning Tree Protocol type as MSTP, RSTP, or VSTP.


mstp—Configure the protocol as Multiple Spanning Tree.

rstp—Configure the protocol as Rapid Spanning Tree.

vstp—Configure the protocol as VLAN Spanning Tree.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.4.

Support for logical systems added in Junos OS Release 9.6.