DGS-3610 Series Configuration Guide Chapter 17 MSTP Configuration
DGS-3610# configure terminal
Enter the global configuration mode.
DGS-3610(config)# interface
interface-id
Enter the configuration mode of this interface, the legal
interface contains the physical port and the Aggregate
Link.
DGS-3610(config-if)# spanning-tree
[mst instance-id] cost cost
For the configuration of the port priority for different
instances, it will configure the instance 0 if you don‘t add
the instance parameters.
instance-id, whose range is 0-64.
cost, Configure the cost for this port, whose value ranges
is 1-200,000,000. The default value is calculated by the
media rate of the interface automatically.
Return to the privileged EXEC mode.
DGS-3610# show spanning-tree
[mst instance-id] interface
interface-id
Check the configuration entities.
DGS-3610# copy running-config
startup-config
If you want to restore to the default value, use the interface configuration command no
spanning-tree mst cost to set.
17.3.7 Configuring Default Calculation
Method of Path Cost (path cost
method)
When this port Path Cost is the default value, the device will calculate the path cost of this
port by the port rate. However, the IEEE 802.1d and the IEEE 802.1t specify different path
cost values for the same media rate respectively. Where, the value range of the 802.1d is the
short integer (1-65535), while the value range of the 802.1t is the long integer
(1-200,000,000). Administrators should unify the path cost standard of the whole network.
The default mode is the long integer (IEEE 802.1t Mode).
The following lists the path cost set for different media rate in two ways automatically.