Performing mcheck, Performing mcheck globally, Performing mcheck in interface view – H3C Technologies H3C S10500 Series Switches User Manual
Page 101

90
To do...
Use the command...
Remarks
group view
Enter port group view
port-group manual
port-group-name
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.
NOTE:
•
To globally enable or disable the spanning tree feature (not for VLANs), use the stp enable command
or undo stp enable command in system view. To enable or disable the spanning tree feature for specific
VLANs, use the stp vlan enable command or undo stp vlan enable command.
•
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 PVST mode, when you globally enable the spanning tree feature the device automatically enables the
spanning tree feature for the first
n (which is the number of PVST instances that the switch supports and
is 128 for the S10500 switch) of the existing VLANs by default. To enable the spanning tree feature for
other VLANs, you must first disable the spanning tree feature for certain VLANs. This guideline does not
apply if the number of existing VLANs on the switch does not exceed
n.
Performing mCheck
If a port on a device that is running MSTP, RSTP, or PVST connects to an STP device, this port automatically
transitions to the STP-compatible mode. However, it cannot automatically transition back to the original
mode under the following circumstances:
•
The STP device is shut down or removed.
•
The STP device transitions to the MSTP, RSTP, or PVST mode.
To forcibly transition the port to operate in the original mode, you can perform an mCheck operation.
The following methods for performing mCheck produce the same result.
Performing mCheck globally
Follow these steps to perform global mCheck:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Perform mCheck
stp mcheck
Required
Performing mCheck in interface view
Follow these steps to perform mCheck in interface view:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Layer 2 Ethernet interface view or
Layer 2 aggregate interface view
interface interface-type
interface-number
—
Perform mCheck
stp mcheck
Required