configure stpd ports priority

configure stpd stpd_name ports priority priority port_list


Specifies the port priority of the port in the specified STPD (Spanning Tree Domain).

Syntax Description

stpd_name Specifies an STPD name on the switch.
priority Specifies a numerical port priority value. The range is 0 through 31 for STP (Spanning Tree Protocol) and 0 through 15 for MSTP (Multiple Spanning Tree Protocol) and RSTP.
port_list Specifies one or more ports or slots and ports.


The default is 128.

Usage Guidelines

If your STPD has the same name as another component, for example a VLAN (Virtual LAN), we recommend that you specify the identifying keyword as well as the name. If your STPD has a name unique only to that STPD, the keyword stpd is optional.

You should not configure any STP parameters unless you have considerable knowledge and experience with STP. The default STP parameters are adequate for most networks.

By changing the priority of the port, you can make it more or less likely to become the root port or a designated port.

To preserve backward compatibility and to use ExtremeXOS 11.5 or earlier configurations, the existing configure stpd ports priority command is available in ExtremeXOS 11.6. If you have an ExtremeXOS 11.5 or earlier configuration, the switch interprets the port priority based on the 802.1D-1998 standard. If the switch reads a value that is not supported in ExtremeXOS 11.6, the switch rejects the entry.

A setting of 0 indicates the highest priority.

The range for the priority parameter is 0 through 31 for STP and 0 through 15 for MSTP and RSTP.

ExtremeXOS 11.6 introduces support for a new ports priority command: configure stpd ports port-priority. When you save the port priority value in an ExtremeXOS 11.6 configuration, the switch saves it as the new command configure stpd ports port-priority with the corresponding change in priority values. The priority range of this command is 0 through 240 and is subject to the multiple of 16 restriction. For more information see configure stpd ports port-priority.

ExtremeXOS 11.5 and Earlier

If you have switches running ExtremeXOS 11.5 and earlier, the default value for the priority range are different than switches running ExtremeXOS 11.6.

The range for the priority parameter is 0 through 31.

The default is 16.


The following command assigns a priority of 1 to slot 2, ports 1 through 5 in STPD s0:

configure stpd s0 ports priority 1 2:1-2:5


This command was first available in ExtremeXOS 10.1.

The priority range and behavior was updated based on support for the 802.1D-2004 standard in ExtremeXOS 11.6.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.