98
Configured in Layer 2 Ethernet interface view, the setting takes effect on the current interface only.
Configured in port group view, the setting takes effect on all ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
When you enable MSTP, the switch works in STP-compatible mode, RSTP mode or MSTP mode,
depending on the MSTP mode setting.
When MSTP is enabled, the switch dynamically maintains the spanning tree status of VLANs based on
received configuration BPDUs.
When MSTP is disabled, the switch stops maintaining the spanning tree status.
Related commands:
stp mode
.
Examples
# Enable the MSTP feature globally.
<Sysname> system-view
[Sysname] stp enable
# Disable MSTP on port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] undo stp enable
stp ignored vlan
Syntax
stp ignored vlan
vlan-list
undo stp ignored vlan
vlan-list
View
System view
Default level
2: System level
Parameters
vlan
vlan-list
: Specifies a VLAN list in the format of
vlan-list
=
{
vlan-id
[
to
vlan-id
}&<1-10>, in which
vlan-id
represents the VLAN ID, the value range of which depends on your device model. &<1-10>
indicates you can specify up to 10 VLAN IDs or VLAN ID ranges.
Description
Use the
stp ignored vlan
command to enable VLAN Ignore for the specified VLAN(s).
Use the
undo stp ignored vlan
command to disable VLAN Ignore for the specified VLAN(s).
By default, VLAN Ignore is disabled for a VLAN.
Related commands:
display stp ignored-vlan
.
Examples
# Enable VLAN Ignore for VLAN 1 through VLAN 10.