Chapter 21: Multiple Spanning Tree Protocol (MSTP) Commands
398 Section III: Layer 2 Switching
SET MSTP MSTI PORT
Syntax
set mstp msti=
instance
port[=
port_list
|all]
priority=
priority
[pathcost=
pathcost
|default|auto]
Parameters
instance
Specifies MST instance ID.
priority
Specifies the port priority. The smaller number has higher priority
to be a root port.The range is 0 to 255. The default value is 128.
The switch converts the specified number into an increment of 16,
which is close to and smaller than the specified number. For
example, when you specifies 70, the switch sets the priority to 64.
pathcost
Specifies the cost for the path to the root bridge of the MST
instance.
pathcost
Specifies the pathcost. The range is 1 to 200,000,000. See
Table 45 on page 394 for the recommended cost and default costs
per speed.
default
Returns the setting to the default value.
auto
Detects the port speed automatically and specifies the past cost
according to the speed. This is the default setting.
Description
Use this command to set the port priority for an MST instance.
Confirmation Command
“SHOW MSTP” on page 399
Examples
The following command sets the port priority for port 10 for MST instance
5 to 64:
set mstp msti port=10 priority=64