Operation Manual – MSTP
H3C S3100 Series Ethernet Switches Chapter 1 MSTP Configuration
1-35
Table 1-26 Enable MSTP in Ethernet port view
Operation Command Description
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 switch 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 switch.
Other MSTP-related settings can take effect only after MSTP is enabled on the switch.
II. Configuration example
# Enable MSTP on the switch and disable MSTP on Ethernet 1/0/1.
1) Perform this configuration in system view
<Sysname> system-view
[Sysname] stp enable
[Sysname] stp interface Ethernet1/0/1 disable
2) Perform this configuration in Ethernet port view
<Sysname> system-view
[Sysname] stp enable
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] stp disable
1.4 Configuring Leaf Nodes
Table 1-27 lists the tasks to configure a leaf node.