configure stpd ports port-priority

configure stpd stpd_name ports port-priority priority port_list

Description

Specifies the port priority of the port in the specified STPD.

Syntax Description

stpd_name Specifies an STPD name on the switch.
priority Specifies a numerical port priority value. The range is 0 through 240 and is subject to the multiple of 16 restriction.
port_list Specifies one or more ports or slots and ports.

Default

The default is 128.

Usage Guidelines

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. For example, if the switch reads the configure stpd ports priority 16 command from an ExtremeXOS 11.5 or earlier configuration, (which is equivalent to the command configure stpd ports priority 8 entered through CLI), the switch saves the value in the new ExtremeXOS 11.6 configuration as configure stpd ports port-priority 128.

A setting of 0 indicates the highest priority.

The range for the priority parameter is 0 through 240 and is subject to the multiple of 16 restriction.

Example

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

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

History

This command was first available in ExtremeXOS 11.6.

Platform Availability

This command is available on all Universal switches supported in this document.