Command Manual – MSTPH3C S3100-52P Ethernet Switches Chapter 1 MSTP Configuration Commands1-28priority: Port priority to be set. This argument ranges from 0 to 240 and must be amultiple of 16 (such as 0, 16, and 32). The default port priority of a port in any spanningtree instance is 128.DescriptionUse the stp interface port priority command to set a port priority for the specifiedports in the specified spanning tree instance in system view.Use the undo stp interface port priority command to restore the default priority of thespecified ports in the specified spanning tree instance in system view.If you specify the instance-id argument to 0, the two commands apply to the portpriorities on the CIST. The role a port plays in a spanning tree instance is affected by itsport priority in the instance. A port on an MSTP-enabled switch can have different portpriorities and play different roles in different MSTIs. This enables packets of differentVLANs to be forwarded along different physical paths, so as to implement VLAN-basedload balancing. Changing port priorities results in port role recalculation and may causestate transition.Related command: stp port priority.Example# Set the port priority of Ethernet1/0/3 in spanning tree instance 2 to 16. system-viewSystem View: return to User View with Ctrl+Z.[H3C] stp interface Ethernet 1/0/3 instance 2 port priority 161.1.26 stp interface root-protectionSyntaxstp interface interface-list root-protectionundo stp interface interface-list root-protectionViewSystem viewParameterinterface-list: Ethernet port list. You can specify multiple Ethernet ports by providing thisargument in the form of interface-list = { interface-type interface-number [ tointerface-type interface-number ] } &<1-10>, where &<1-10> means that you canprovide up to 10 port indexes/port index ranges for this argument.