618
C
38: MSTP C
HAPTER
Parameters
Description
Examples
stp port-log
Syntax
View
Parameters
C
ONFIGURATION
OMMANDS
auto: Specifies MSTP detects automatically whether the current port connects to a
point-to-point link.
force-false: Specifies the current port to connect to a non-point-to-point link.
force-true: Specifies the current port to connect to a point-to-point link.
Use the
stp point-to-point
connects to a point-to-point link.
Use the
undo stp point-to-point
link connected with the current port.
The default setting is auto; namely the MSTP-compliant device automatically
detects whether an Ethernet port connects to a point-to-point link.
Configured in Ethernet interface view, the setting is effective on the current port
only.
Note that:
Configured in Ethernet interface view, the setting is effective on the current
■
port only; configured in port group view, the setting is effective on all the ports
in the port group.
When connecting to a non-point-to-point link, a port is incapable of rapid state
■
transition.
If the current port is the master port of aggregated ports or if it works in full
■
duplex mode, the link to which the current port connects is a point-to-point
link. We recommend that you use the default setting, namely let MSTP detect
the link status automatically.
This setting is effective to the CIST and all MST instances. If a port is configured
■
as connecting to a point-to-point link or a non-point-to-point link, the setting
takes effect for the port in all MST instances. If the physical link to which the
port connects is not a point-to-point link and you force it to be a point-to-point
link by configuration, your configuration may incur a temporary loop.
# Configure port Ethernet 1/3 as connecting to a point-to-point link.
<Sysname> system-view
[Sysname] interface Ethernet 1/3
[Sysname-Ethernet1/3] stp point-to-point force-true
stp port-log { all | instance instance-id }
undo stp port-log { all | instance instance-id }
System view
all: Enables output of port state transition information for all instances.
command to specify whether the current port
command to restore the default status of the