By default, the device priority is 32768.
To set the priority of an MSTP device in a specific MSTI, use this command with the MSTI specified. To set
the priority of a PVST device in a specific VLAN or multiple VLANs, use this command with a VLAN list
specified. To set the priority of an MSTP device in the CIST or an STP/RSTP device, use this command
without specifying any MSTI and VLAN.
Examples
# In MSTP mode, set the device priority to 4096 in MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 priority 4096
# In PVST mode, set the device priority to 4096 in VLAN 1.
<Sysname> system-view
[Sysname] stp mode pvst
[Sysname] stp vlan 1 priority 4096
stp region-configuration
Syntax
stp region-configuration
undo stp region-configuration
View
System view
Default level
2: System level
Parameters
None
Description
Use stp region-configuration to enter MST region view.
Use undo stp region-configuration to restore the default MST region configurations.
These are the default settings for the MST region:
The MST region name of the device is the MAC address of the device.
•
All VLANs are mapped to the CIST.
•
•
The MSTP revision level is 0.
After you enter MST region view, you can configure the MST region-related parameters, including the
region name, VLAN-to-instance mappings, and revision level.
Examples
# Enter MST region view.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region]
141