258
C
30: MSTP C
HAPTER
MSTP Configuration
ONFIGURATION
Configuration example
# Configure the link connected to port Ethernet1/0/1 as a point-to-point link.
1 Configure in system view.
<SW7750> system-view
[SW7750] stp interface ethernet1/0/1 point-to-point force-true
2 Configure in Ethernet port view.
<SW7750> system-view
[SW7750] interface ethernet1/0/1
[SW7750-Ethernet1/0/1] stp point-to-point force-true
Configuration procedure
Table 187 Enable MSTP in system view
Operation
Enter system view
Enable MSTP
Disable MSTP on
specified ports
Table 188 Disable MSTP in Ethernet port view
Operation
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.
Command
Description
system-view
-
stp enable
Required
MSTP is disabled by default.
stp interface
Optional
interface-list disable
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.
Command
Description
system-view
-
stp enable
Required
MSTP is disabled by default.
Interface
-
interface-type
interface-number
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.