
19-112
Parameter:
<instance-id>
sets instance ID. The valid range is from 0 to 64;
<bridge-priority>
sets the switch priority. The valid
range is from 0 to 61440. The value should be the multiples of 4
096, such as 0, 4096, 8192…61440.
Command mode:
Global Mode
Default:
The default bridge priority is 32768.
Usage Guide:
By setting the bridge priority, users can change the bridge ID for the specified instance. And the bridge ID can
influence the elections of root bridge and designated port for the specified instance.
Example:
Set the priority for Instance 2 to 4096.
Switch(config)#spanning-tree mst 2 priority 4096
19.1.25 spanning-tree mst rootguard
Command:
spanning-tree [mst
<instance-id>
] rootguard
no spanning-tree [mst
<instance-id>
] rootguard
Function:
Enable the rootguard function for specified instance, the rootguard function forbid the port to be MSTP root port. “
no
spanning-tree mst <
instance-id
> rootguard
” disable the rootguard function.
Parameter:
<instance-id>
: MSTP instance ID.
Command mode:
Port Mode.
Default:
Disable rootguard function.