User's Manual
268
spanning-tree mstp
instance-id
cost
cost Sets the path cost of the port.
instance-id represents the number of the spanning
treeinstance, ranging from 0 to 15.
cost stands for the path cost of the port, which
ranges from 1 to 200000000.
spanning-tree cost
value Sets the path cost of the port in all spanning tree
instances.
value: Path cost of a port, which ranges between
1 and 200,000,000
no spanning-tree mstp
instance-id
cost
Resumes the port path cost to the default value.
no spanning-tree cost
Resumes the path cost of the port to the default
value.
36.3.12 Setting the Edge Port
The edge port means this port connects terminal devices of a network. A mandatory edge port will enter the
forwarding state after link-up. In port configuration mode, run following command to set the edge port of MSTP:
Command Purpose
spanning-tree mstp edge
Sets the edge port.
no spanning-tree mstp edge
Resume the default setting.
36.3.13 Setting the Port Connection Type
If switches, on which RSTP is run, are in the point-to-point connection, these switches can establish a topology
rapidly through the handshake mechanism. When the port connection type is set, the connection of a port can
be set point-to-point.
By default, RSTP will judge whether a port is in the point-to-point connection according to the duplex mode of
this port. If this port works in full duplex mode, RSTP regards this port is in a point-to-point connection; if this
port works in half duplex mode, RSTP regards this port’s connection is shared.
If it is confirmed that RSTP or MSTP is running on the switches connected by a port, you should set this port’s
connection type to point-to-point so that fast handshake should be conducted.
In the port configuration mode, run the following command to set the connection type of a port.
Command Purpose
spanning-tree mstp point-to-point force-true
Sets the port connection mode to point-to-point.
spanning-tree mstp point-to-point force-false
Sets the port connection mode to non-point-to-
point.
spanning-tree mstp point-to-point auto
Sets the port connection mode to auto-check (the
default mode).
no spanning-tree mstp point-to-point
Resumes the port connection type to the default
settings.
36.3.14 Activating MST-compatible mode
The MSTP protocol that our switches support is based on IEEE 802.1Q. In order to be compatible with other
MSTPs, especially MSTP that the Cisco switches support, the MSTP protocol can work in MST-compatible