Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

priority (Spanning Trees)

Syntax

priority priority;

Hierarchy Level

[edit protocols mstp interface (all | interface-name)], [edit protocols mstp ;interface (all | interface-name) arp-on-stp], [edit protocols mstp msti msti-id interface interface-name], [edit protocols mstp msti msti-id interface interface-name arp-on-stp], [edit protocols rstp interface (all | interface-name)], [edit protocols rstp interface (all | interface-name) arp-on-stp], [edit protocols stp interface (all | interface-name)],[edit protocols stp interface (all | interface-name) arp-on-stp],[edit protocols vstp vlan vlan-id interface (all | interface-name)],[edit protocols vstp vlan vlan-id interface (all | interface-name) arp-on-stp]

Release Information

Statement introduced in Junos OS Release 9.0 for EX Series switches.

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

Description

For Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), VLAN Spanning Tree Protocol (VSTP), or Multiple Spanning Tree Protocol (MSTP), specify the interface priority to control which interface is elected as the root port.

Default

The default value is 128.

Options

priority—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.

Published: 2012-12-07