Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


priority (Protocols STP)


Hierarchy Level


For Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), VLAN Spanning Tree Protocol (VSTP), or Multiple Spanning Tree Protocol (MSTP), specifies the interface priority to control which interface is elected as the root port. The interface priority must be set in increments of 16.


The default value is 128.


priority—(Optional) Interface priority. The interface priority must be set in increments of 16.

  • Range: 0 through 240

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.

Statement updated in Junos OS Release 9.4 for EX Series switches to add VSTP support.

Support for logical systems added in Junos OS Release 9.6.