spanning-tree mst port-priority

To set the port-priority parameters for any Multiple Spanning Tree (MST) instance, including the Common and Internal Spanning Tree (CIST) with instance ID 0, use the spanning-tree mst port-priority command. To return to the default settings, use the no form of this command.

spanning-tree mst instance-id port-priority priority

no spanning-tree mst instance-id port-priority

Syntax Description


Instance ID number. The range is from 0 to 4094.


Port priority for an instance. The range is from 0 to 224 in increments of 32.

Command Default

Port priority value is 128.

Command Modes

Interface configuration mode

Command History



This command was introduced.

Usage Guidelines

Higher port-priority priority values indicate smaller priorities.

The priority values are 0, 32, 64, 96, 128, 160, 192, and 224. All other values are rejected.


This example shows how to set the interface priority:

switch(config-if)# spanning-tree mst 0 port-priority 64  

Related Commands


show spanning-tree mst

Displays the information about the MST protocol.

spanning-tree port-priority

Configures the port priority for the default STP, which is Rapid PVST+.