EasyManuals Logo

H3C S5120-SI Series Command Reference

H3C S5120-SI Series
910 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #189 background imageLoading...
Page #189 background image
1-23
Description
Use the stp enable command to enable MSTP globally in system view, on a port in port view, or on
multiple ports in port group view.
Use the undo stp enable command to disable MSTP globally or on the port(s).
The device is globally MSTP-disabled by default. After you enable MSTP globally, MSTP is enabled on
all ports.
Note that:
z Configured in system view, the setting takes effect globally; configured in Layer 2 Ethernet port
view, the setting takes effect on the current port only; configured in port group view, the setting
takes effect on all ports in the port group; configured in Layer 2 aggregate port view, the setting
takes effect only on the aggregate port; configured on a member port in an aggregation group, the
setting can take effect only after the port leaves the aggregation group.
z After you enable MSTP, the device works in STP-compatible mode, RSTP mode or MSTP mode
depending on the MSTP mode setting.
z After being enabled, MSTP dynamically maintains the spanning tree status of VLANs based on
received configuration BPDUs; after being disabled, it 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: Specifeis a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id2 }&<1-10>, in which
vlan-id represents the VLAN ID and ranges from 1 to 4094. &<1-10> indicates you can specify up to 10
VLAN IDs or VLAN ID ranges.

Table of Contents

Other manuals for H3C S5120-SI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S5120-SI Series and is the answer not in the manual?

H3C S5120-SI Series Specifications

General IconGeneral
BrandH3C
ModelS5120-SI Series
CategorySwitch
LanguageEnglish

Related product manuals