
124
Description
Use the
stp priority
command to set the priority of the switch.
Use the
undo stp priority
command to restore the default priority.
By default, the priority is 32768.
Examples
# Set the priority of the switch in MSTI 1 to 4096.
<Sysname> system-view
[Sysname] stp instance 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 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 switch is the MAC address of the switch.
•
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]
stp root primary
Syntax
stp
[
instance
instance-id
]
root primary
undo stp
[
instance
instance-id
]
root