H3C LS-3100-52P-OVS-H3 Operation Manual - page 263
1-27
Follow these steps to enable output of port state transition information:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enable output of port state
transition information of all
MSTIs or a particular MSTI
stp port-log { all | instance
instance-id }
Optional
This function is enabled by
default.
Enabling the MSTP Feature
Configuration procedure
Follow these steps to enable the MSTP feature:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enable the MSTP feature for the
device
stp enable
Required
Disabled by default.
Enter Ethernet
interface view
or Layer-2
aggregate
interface view
interface
interface-type
interface-number
Enter
interface view
or port group
view
Enter port
group view
port-group manual
port-group-name
Required
Use either command.
Configurations made in interface view
will take effect on the current port only;
configurations made in port group view
will take effect on all ports in the port
group.
Enable the MSTP feature for the
port(s)
stp enable
Optional
By default, MSTP is enabled on all
ports.
Even though MSTP is enabled on all
ports by default, it does not take effect.
To have it take effect, you must enable
MSTP globally in system view.
z
You must enable MSTP for the device before any other MSTP-related configuration can take
effect.
z
To control MSTP flexibly, you can use the undo stp enable command to disable the MSTP feature
for certain ports so that they will not take part in spanning tree calculation and thus to save the
device’s CPU resources.
Configuration example
# Enable MSTP globally and disable MSTP for port GigabitEthernet 1/0/1.
[Sysname] stp enable
[Sysname] interface gigabitethernet 1/0/1