130
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
Description
Use the stp region-configuration command to enter MST region view.
Use the undo stp region-configuration command 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.
Syntax
stp region-configuration
undo stp region-configuration
View
System view
Default level
2: System level
Parameters
None
Example
# Enter MST region view.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region]
stp root primary
Description
Use the stp root primary command to configure the device as the root bridge.