Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

priority (Protocols STP)

date_range 03-May-24

Syntax

content_copy zoom_out_map
priority interface-priority;

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name protocols (mstp | rstp | vstp) interface interface-name],
[edit logical-systems logical-system-name protocols mstp msti msti-id interface interface-name],
[edit logical-systems logical-system-name protocols vstp vlan vlan-id interface interface-name],
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols (mstp | rstp | vstp) interface interface-name],
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols mstp msti msti-id interface interface-name],
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols vstp vlan vlan-id interface interface-name],
content_copy zoom_out_map
[edit protocols (mstp | rstp | vstp) interface interface-name],
[edit protocols mstp msti msti-id interface interface-name],
[edit protocols vstp vlan-id interface interface-name],
[edit protocols mstp ;interface (all | interface-name) arp-on-stp], 
[edit protocols mstpmsti msti-id interface interface-name arp-on-stp], 
[edit protocols rstp interface (all | interface-name) arp-on-stp], 
[edit protocols stp interface (all | interface-name) arp-on-stp],
[edit protocols vstp vlan vlan-id interface (all | interface-name) arp-on-stp]
content_copy zoom_out_map
[edit routing-instances routing-instance-name protocols (mstp | rstp | vstp) interface interface-name],
[edit routing-instances routing-instance-name protocols mstp msti msti-id interface interface-name],
[edit routing-instances routing-instance-name protocols vstp vlan vlan-id interface interface-name]

Description

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.

Default

The default value is 128.

Options

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.

footer-navigation