D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 10 MSTP Configuration
10-26
Command Function
DES-7200# copy running-config
startup-config
Save the configuration.
To restore the port priority to the default value, execute the no spanning-tree
mst instance-id port-priority command in the interface configuration mode.
10.3.6 Configuring
Path Cost of a
Port
The switch determines a root port upon the total of the path costs along the path
from a port to the boot bridge. The port the total of paths costs from the port to
the root brdige is the smallest is elected the root port. Its default value is
calculated by the media speed of the port automatically. The higher the media
speed, the smaller the cost is. It is not necessary for administrators to change it
for the path cost calculated in this way is most scientific. You can assign
different cost paths for various instances on one port, by which various
instances can run the separated spanning tree protocols.
To configure the path cost of a port, execute the following commands in the
privileged mode:
Command Function
DES-7200# configure terminal
Enter the global configuration mode.
DES-7200(config)# interface
interface-id
Enter the interface configuration mode. A
legal interface contains a physical port and
an aggregate Link.
DES-7200(config-if)# spanning-tree
[mst instance-id] cost cost
Configure different priorities for different
instances. The command without the
instance-id parameter will configure a port
priority for instance 0.
instance-id: Interface ID in the range of 0 to
64.
cost: Path cost of the port in the range of 1 to
200,000,000. The default value is calculated
by the media rate of the port automatically.
DES-7200(config-if)# end
Return to the privileged EXEC mode.
DES-7200# show spanning-tree [mst
instance-id] interface interface-id
Verify the configuration.
DES-7200# copy running-config
startup-config
Save the configuration.