Chapter 17 MSTP Configuration DGS-3610 Series Configuration Guide
with smaller port number will enter the forwarding status. You can assign different port
priorities for different instances on one port, by which each instance can run separate
spanning tree protocol.
Same as the device priority, it has 16 values, all a multiple of 16. They are 0, 16, 32, 48, 64,
80, 96, 112, 128, 144, 160, 176, 192, 208, 224, and 240 respectively. The default value is
128.
In the privileged mode, perform these steps to configure the port priority:
DGS-3610# configure terminal
Enter the global configuration mode.
DGS-3610(config)# interface
interface-id
Enter he 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] port-priority
priority
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.
priority, configure the priority of this interface and its
value range is 0 – 240. Furthermore, it is increasing by
the integral multiple of 16, 128 by default.
Return to the privileged mode.
DGS-3610# show spanning-tree
[mst instance-id] interface
interface-id
Check the configuration entries.
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 instance-id port-priority to set.
17.3.6 Configuring Path Cost of the Port
Setting of Port Path Cost is related to the root port of the device because the device selects
the root port with the smallest sum of Path Cost of the port to the root bridge. Its default
value is calculated by The Media Speed of the interface automatically. The higher the media
speed, the smaller the cost is. It is not necessary to be changed unless required by
administrators especially, so the path cost calculated in this way is most scientific. You can
assign different cost paths for different instances on one port, by which every instance can
run independent spanning tree protocol.
In the privileged mode, perform these steps to configure the port path cost: