Performing mcheck, Performing mcheck globally, Performing mcheck in interface view – H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 96
85
Step 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 globally disabled.
3.
Enable the spanning tree
feature on specific
VLANs.
stp vlan vlan-list enable
By default, the spanning tree
feature is enabled on VLANs.
4.
Enter interface view or
port group view.
•
Enter Layer 2 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.
5.
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, RSTP, or PVST connects to an STP device, this port automatically
migrates to the STP mode. However, it cannot automatically transition back to the original mode when:
•
The STP device is shut down or removed.
•
The STP device transitions to the MSTP, RSTP, or PVST mode.
For example, Device A is running STP, Device B has no spanning tree feature enabled, and Device C is
running RSTP, MSTP, or PVST are connected in order. Device B will transparently transmit STP BPDUs, and
the port on Device C and connecting to Device B will transition 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 RSTP, MSTP, or PVST mode on Device B.
To forcibly transition the port to operate in the original mode, you can perform an mCheck operation. An
mCheck operation takes effect on a device that operates in MSTP, RSTP, or PVST mode.
The following methods for performing mCheck produce the same result.
Performing mCheck globally
Step Command
1.
Enter system view.
system-view
2.
Perform mCheck.
stp mcheck
Performing mCheck in interface view
Step Command
1.
Enter system view.
system-view