Command Manual – MSTP
H3C S7500E Series Ethernet Switches Chapter 1 MSTP Configuration Commands
1-27
z If the current port is the master port of a link aggregation group 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.
z This setting is effective to the CIST and all spanning tree 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 spanning tree 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.
Examples
# Configure port GigabitEthernet 2/0/1 as connecting to a point-to-point link.
<Sysname> system-view
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] stp point-to-point force-true
1.1.28 stp port-log
Syntax
stp port-log { all | instance instance-id }
undo stp port-log { all | instance instance-id }
View
System view
Parameters
all: Enables output of port state transition information for all instances.
instance instance-id: Enables output of port state transition information for the
specified spanning tree instance. The effective range of instance-id is 0 to 31, with 0
representing the CIST.
Description
Use the stp port-log command to enable the output of port state transition information
for the specified instance or all instances.
Use the undo stp port-log command to disable the output of port state transition
information for the specified instance or all instances.
By default, the output of port state transition information is enabled.
Examples
# Enable output of port state transition information for instance 2.
<Sysname> system-view