Specifies the port priority of the port in the specified STPD.
stpd_name | Specifies an STPD name on the switch. |
priority | Specifies a numerical port priority value. The range is 0 through 31 for STP and 0 through 15 for MSTP and RSTP. |
port_list | Specifies one or more ports or slots and ports. |
The default is 128.
If your STPD has the same name as another component, for example a VLAN, 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.
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.
This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.