110
•
You can configure the link type as point-to-point for a Layer 2 aggregate interface or a port that
operates in full duplex mode. As a best practice, use the default setting and let the device
automatically detect the port link type.
•
In PVST or MSTP mode, the
stp point-to-point force-false
or
stp point-to-point force-true
command configured on a port takes effect on all VLANs or all MSTIs.
•
Before you set the link type of a port to point-to-point, make sure the port is connected to a
point-to-point link. Otherwise, a temporary loop might occur.
Configuration procedure
To configure the link type of a port:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface or Layer 2
aggregate interface view.
interface interface-type
interface-number
N/A
3.
Configure the port link type.
stp point-to-point
{
auto
|
force-false
|
force-true
}
By default, the link type is
auto
where the port automatically
detects the link type.
Configuring the mode a port uses to recognize
and send MSTP frames
A port can receive and send MSTP frames in the following formats:
•
dot1s
—802.1s-compliant standard format
•
legacy
—Compatible format
By default, the frame format recognition mode of a port is
auto
. The port automatically distinguishes
the two MSTP frame formats, and determines the format of frames that it will send based on the
recognized format.
You can configure the MSTP frame format on a port. Then, the port sends only MSTP frames of the
configured format to communicate with devices that send frames of the same format.
By default, a port in
auto
mode sends 802.1s MSTP frames. When the port receives an MSTP frame
of a legacy format, the port starts to send frames only of the legacy format. This prevents the port
from frequently changing the format of sent frames. To configure the port to send 802.1s MSTP
frames, shut down and then bring up the port.
When the number of existing MSTIs exceeds 48, the port can send only 802.1s MSTP frames.
To configure the MSTP frame format to be supported on a port:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface or Layer 2
aggregate interface view.
interface interface-type
interface-number
N/A
3.
Configure the mode that the
port uses to recognize/send
MSTP frames.
stp compliance
{
auto
|
dot1s
|
legacy
}
The default setting is
auto
.