H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – MSTP
H3C S7500 Series Ethernet Switches Chapter 1
MSTP Configuration Commands
1-25
undo stp interface interface-list instance instance-id port priority
View
System view
Parameters
interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this
argument in the form of interface-list = { interface-type interface-number [ to
interface-type interface-number ] } &<1-10>, where &<1-10> means that you can
provide up to 10 port indexes/port index ranges for this argument.
instance-id: MSTI ID ranging from 0 to 16. A value of 0 specifies the CIST.
priority: Port priority to be set. This argument ranges from 0 to 240 and must be a
multiple of 16 (such as 0, 16, and 32). The default port priority of a port in any MSTI is
128.
Description
Use the stp interface port priority command to set a port priority for the specified
ports in the specified MSTI.
Use the undo stp interface port priority command to restore the specified ports to the
default port priority in the specified MSTI.
If you specify the instance-id argument to be 0, 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 results in port roles being re-determined and may cause state
transitions.
Related commands: stp port priority.
Examples
# Set the port priority of Ethernet 2/0/3 to 16 in MSTI 2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] stp interface Ethernet 2/0/3 instance 2 port priority 16
1.1.24 stp interface root-protection
Syntax
stp interface interface-list root-protection
undo stp interface interface-list root-protection