Configuration example, Configuring leaf nodes – H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 197
22-28
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable MSTP
stp enable
Required
MSTP is disabled by default.
Enter Ethernet port view
interface
interface-type
interface-number
—
Disable MSTP on the port
stp disable
Optional
By default, MSTP is enabled on all ports after you
enable MSTP in system view.
To enable a device to operate more flexibly, you
can disable MSTP on specific ports. As
MSTP-disabled ports do not participate in spanning
tree calculation, this operation saves CPU
resources of the device.
You are not recommended to enable MSTP on GigabitEthernet 1/0/29 on the switching engine of the
WX3024, GigabitEthernet 1/0/11 on the switching engine of the WX3010 or GigabitEthernet 1/0/9 on
the switching engine of the WX3008.
Other MSTP-related settings can take effect only after MSTP is enabled on the device.
Configuration example
# Enable MSTP on the device and disable MSTP on GigabitEthernet 1/0/1.
1) Perform this configuration in system view
[device] stp enable
[device] stp interface GigabitEthernet1/0/1 disable
2) Perform this configuration in Ethernet port view
[device] stp enable
[device] interface GigabitEthernet1/0/1
[device-GigabitEthernet1/0/1] stp disable
Configuring Leaf Nodes
Complete the following tasks to configure a leaf node:
Task
Remarks
Required
To prevent network topology jitter caused by other
related configurations, you are recommended to
enable MSTP after performing other configurations.
Required
Configuring the Mode a Port Recognizes and Sends
MSTP Packets
Optional