Enabling MSTP
Configuration procedure
Follow these steps to enable MSTP in system view:
To do...
Enter system view
Enable MSTP
Disable MSTP on
specified ports
Follow these steps to enable MSTP in Ethernet port view:
To do...
Enter system view
Enable MSTP
Enter Ethernet port view
Disable MSTP on the
port
Other MSTP-related settings can take effect only after MSTP is enabled on the switch.
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 Ethernet 1/0/1 disable
2)
Perform this configuration in Ethernet port view
<Sysname> system-view
[Sysname] stp enable
[Sysname] interface Ethernet 1/0/1
Use the
command...
system-view
stp enable
stp interface
interface-list
disable
Use the command...
system-view
stp enable
interface interface-type
interface-number
stp disable
1-29
Remarks
—
Required
MSTP is disabled by default.
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.
—
Required
MSTP is disabled by default.
—
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.
Remarks