![Huawei Quidway S6500 Series Command Manual Download Page 520](http://html.mh-extra.com/html/huawei/quidway-s6500-series/quidway-s6500-series_command-manual_167771520.webp)
Command Manual - STP
Quidway S6500 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-19
[Quidway] stp interface Ethernet2/0/3 point-to-point force-true
1.1.20 stp interface port priority
Syntax
stp interface interface-list instance instance-id port priority priority
undo stp interface interface-list instance instance-id port priority
View
System view
Parameter
interface-list
: Ethernet port list, containing multiple Ethernet ports and expressed as
interface _list
= { {
interface_type interface_num | interface_name
} [
to
{
interface_type
interface_num | interface_name
} ] }&<1-10>. For detail descriptions of
interface_type
,
interface_num
and
interface_name
parameters, refer to the corresponding descriptions
in Port Command Manual. &<1-10> means that the preceding parameters can be
entered up to 10 times.
instance instance-id
: Specifies the spanning tree instance ID, ranging from 0 to 16. The
Instance 0 represents CIST.
port priority priority
: Specifies the port priority, ranging from 0 to 240 with a step length
of 16, e.g., 0, 16 and 32. By default, the port has a priority of 128 on every STI.
Description
Using
stp interface instance port priority
command, you can configure the priority of
the specified port on the specified STI in system view. Using
undo stp interface
instance port priority
command, you can restore the default priority.
You may specify the
instance-id
parameter as 0 to configure CIST priority of the port.
The port priority has effect on the port role selection. A port can be configured with
different priorities on different MSTIs. Thus the traffic from different VLANs can run over
different physical links, thereby implementing the VLAN-based load-balancing. MSTP
will recalculate the port role and transit its state, upon the port priority changes.
For the related command, see
stp instance port priority
.
Example
# Set the priority of Ethernet2/0/3 on STI 2 to 16 in system view.
[Quidway] stp instance 2 interface Ethernet2/0/3 port priority 16