H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – MSTP
H3C S7500 Series Ethernet Switches Chapter 1
MSTP Configuration
1-23
To do ...
Use the
command ...
Remarks
Enter system view
system-view
Enable MSTP
stp enable
Required
MSTP is disabled by default.
Disable MSTP on
specified ports
stp interface
interface-list 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 generation, this operation saves
CPU resources.
Follow these steps to disable/disable MSTP in Ethernet port view:
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 switch to operate
more flexibly, you can disable
MSTP on specific ports. As
MSTP-disabled ports do not
participate in spanning tree
generation, this operation
saves CPU resources.
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 Ethernet2/0/1.
1) Configure in system view.
<H3C> system-view
[H3C] stp enable
[H3C] stp interface ethernet2/0/1 disable