H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – MSTP
H3C S7500 Series Ethernet Switches Chapter 1
MSTP Configuration Commands
1-36
Use the undo stp port priority command to restore the current port to the default port
priority in the specified MSTI.
If you specify the instance-id argument to be 0 or do not specify the argument, these
two commands apply to the port priorities on the CIST. The role a port plays in an MSTI
is determined by the port priority in the MSTI. A port on an 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 paths, so as to
achieve load balancing by VLANs. Changing port priorities result in port roles being
re-determined and may cause state transitions.
Related commands: stp interface port priority.
Examples
# Set the port priority of Ethernet 2/0/3 in MSTI 2 to 16.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet2/0/3
[H3C-Ethernet2/0/3] stp instance 2 port priority 16
1.1.34 stp priority
Syntax
stp [ instance instance-id ] priority priority
undo stp [ instance instance-id ] priority
View
System view
Parameters
instance-id: MSTI ID ranging from 0 to 16. A value of 0 specifies the CIST.
priority: Switch priority to be set. This argument ranges from 0 to 61,440 and must be a
multiple of 4,096 (such as 0, 4,096, and 8,192). There are totally 16 available switch
priorities.
Description
Use the stp priority command to set the priority of the switch in the specified MSTI.
Use the undo stp priority command to restore the switch to the default priority in the
specified MSTI.
The default priority of a switch is 32,768.