Configuring MSTP
23.4.7 Configuring Port Link Type
Port link type is divided into two kinds: First, the type of shared media links (links through
the hub, etc.), another type of point to point link. Link type is mainly used in the rapid
conversion of the proposed port state - agreed mechanism, only the port link type as point to
point only to allow the port state of rapid transformation.
In MSTP, the port state requires quick access to the port forwarding to point to point link,
not a shared media link, you can manually specify the port link type, then can determine the
port by the bridge current link type.
Table 23-7 Configure the port link type
Enter global configuration
mode
Enter port configuration mode
interface ethernet interface-num
Configure the switch
automatically detects whether
the port is point to point link
spanning-tree mst link-type point-to-point auto
Configure the port connected
to the link point to point link
spanning-tree mst link-type point-to-point forcetrue
Configure the port connected
to link non-point link
spanning-tree mst link-type point-to-point
forcefalse
23.4.8 Configuring Path Cost
Port path cost is divided into internal and external costs to spend, the former is based on
the configuration parameters for each instance of MSTP, each MSTP region to determine the
topology of different instances, which is unrelated to an instance of the parameters used to
determine each region of the topology composed of CST.
Cost path through the configuration port, you can make the port more likely to be the root
port or designated port.
Port path cost and the link rate on the port, the larger the link rate, the smaller should be
the parameter configuration. MSTP protocol can automatically detect the current port link rate,
and converted into the corresponding path cost.
Configuring the Ethernet port will cause the spanning tree path cost to recalculate. Port
path cost in the range 1 to 65535.Recommended default values, so that their MSTP protocol
to calculate the path of the current port cost. By default, the port was based on the rate to
determine the path cost.
Port path cost default value is determined according to the port speed, port speed 10M
when the default value is 200,000 2,000,000,100 M, while the 1000M is, when 20,000 default.
When the time is less than the port speed, path cost default value 200,000.