R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide
69
Ste
p
Command
Remarks
2. Enable outputting port state
transition information.
• In STP/RSTP mode:
stp port-log instance 0
• In MSTP mode:
stp port-log instance { instance-id | all }
Use one of the
commands.
By default, this feature is
disabled.
Enabling the spanning tree feature
You must enable the spanning tree feature for the device before any other spanning tree related
configurations can take effect. You can disable the spanning tree feature for certain ports with the undo
stp enable command to exclude them from spanning tree calculation and save CPU resources of the
device.
In STP, RSTP, or MSTP mode, make sure that the spanning tree feature is enabled globally and on the
desired ports.
To enable the spanning tree feature in STP, RSTP, or MSTP mode:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable the spanning tree
feature globally.
stp enable
By default, the spanning tree
feature is enabled globally.
3. Enter interface view or port
group view.
• Enter Ethernet interface view or
Layer 2 aggregate interface view:
interface interface-type
interface-number
• Enter port group view:
port-group manual
port-group-name
Use one of the commands.
4. Enable the spanning tree
feature for the port or group
of ports.
stp enable
Optional.
By default, the spanning tree
feature is enabled on all ports.
Performing mCheck
If a port on a device that is running MSTP or RSTP connects to an STP device, this port automatically
migrates to STP mode. However, it cannot automatically transit back to the original mode in the following
situations:
• The STP device is shut down or removed.
• The STP device transits to MSTP or RSTP mode.
Suppose Device A running STP, Device B with no spanning tree feature enabled, and Device C running
MSTP or RSTP are connected in order. Device B will transparently transmit STP BPDUs, and the port on
Device C and connecting to Device B will transit to the STP mode. After you enable the spanning tree
feature on Device B, to run RSTP or MSTP between Device B and Device C, you must perform an mCheck
operation on the ports interconnecting Device B and Device C, in addition to configuring the spanning
tree to operate in MSTP or RSTP mode on Device B.










