beautypg.com

16 spanning-tree mst port-priority – PLANET XGS3-24040 User Manual

Page 203

background image

13-69

For the aggregation ports, the default costs are as below:

Port Type

Allowed Number Of

Aggregation Ports

Default Port Cost

10Mbps

N

2000000/N

100Mbps

N

200000/N

1Gbps

N

20000/N

10Gbps

N

2000/N

Usage Guide:

By setting the port cost, users can control the cost from the current port to the root bridge in order to

control the elections of root port and the designated port of the instance.

Example:

On the port1/2, set the MSTP port cost in the instance 2 to 3000000.

Switch(Config-If-Ethernet1/2)#spanning-tree mst 2 cost 3000000

13.1.16 spanning-tree mst port-priority

Command:

spanning-tree mst port-priority

no spanning-tree mst port-priority

Function:

Set the current port priority for the specified instance; the command “no spanning-tree mst

port-priority” restores the default setting.

Parameter:

sets the instance ID. The valid range is from 0 to 48; sets port

priority. The valid range is from 0 to 240. The value should be the multiples of 16, such as 0, 16,

32…240.