
1-41
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. The value of 0 refers to 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 priority to the default priority in the specified
MSTI.
The default priority of a switch is 32,768.
The priorities of switches are used for spanning tree calculation. Switch priorities are spanning
tree-specific. That is, you can set different priorities for the same switch in different MSTIs.
If you do not specify the
instance-id
argument, the two commands apply to only the CIST.
Examples
# Set the bridge priority of the switch in MSTI 1 to 4,096.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp instance 1 priority 4096
stp region-configuration
Syntax
stp region-configuration
undo stp region-configuration
View
System view
Parameters
None
Description
Use the
stp region-configuration
command to enter MST region view.
Use the
undo stp region-configuration
command to restore the MST region-related settings to the
default.