Command Manual (For Soliton) – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-46
Related commands:
stp interface point-to-point
.
Examples
# Configure the link connected to Ethernet 1/0/3 as a point-to-point link.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/3
[Sysname-Ethernet1/0/3] stp point-to-point force-true
1.1.40 stp port priority
Syntax
stp
[
instance instance-id
]
port priority priority
undo stp
[
instance instance-id
]
port priority
View
Ethernet port view
Parameters
instance-id
: MSTI ID ranging from 0 to 16. The value of 0 refers to the CIST.
port priority priority
: Sets the port priority. The
priority
argument ranges from 0 to 240
and must be a multiple of 16 (such as 0, 16, and 32).
Description
Use the
stp port priority
command to set the port priority of the current port in the
specified MSTI.
Use the
undo stp port priority
command to restore the default port priority of the
current port in the specified MSTI.
The default port priority of a port in any MSTI is 128.
If you specify the
instance-id
argument to 0 or do not specify the argument, the two
commands apply to the port priorities of ports on the CIST. The role a port plays in a
MSTI is determined by the port priority in the instance. A port on a MSTP-enabled
switch can have different port priorities and play different roles in different MSTIs. This
enables packets of different VLANs to be forwarded along different physical links, so as
to implement VLAN-based load balancing. Changing port priorities result in port role
recalculation and state transition.
Related commands:
stp interface port priority
.
Examples
# Set the port priority of Ethernet 1/0/3 in MSTI 2 to 16.