Enabling the spanning tree feature, Enabling the spanning tree feature in pvst mode – H3C Technologies H3C S5560 Series Switches User Manual
Page 126
92
Enabling the spanning tree feature
You must enable the spanning tree feature for the device before any other spanning tree related
configurations can take effect. In STP, RSTP, or MSTP mode, make sure the spanning tree feature is
enabled globally and on the desired ports. In PVST mode, make sure the spanning tree feature is
enabled globally, in the desired VLANs, and on the desired ports.
You can disable the spanning tree feature for certain ports with the undo stp enable command to exclude
them from spanning tree calculation and save CPU resources of the device. Make sure no loops occur in
the network after you disable the spanning tree feature on these ports.
Enabling the spanning tree feature in STP/RSTP/MSTP mode
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the spanning tree
feature.
stp global enable
•
If the device starts up with the initial
settings, the spanning tree feature is
disabled globally by default.
•
If the device starts up with the factory
defaults, the spanning tree feature is
enabled globally by default.
For more information about the startup
configuration, see Fundamentals
Configuration Guide.
3.
Enter Layer 2 Ethernet or
aggregate interface view.
interface interface-type
interface-number
N/A
4.
(Optional.) Enable the
spanning tree feature for the
port.
stp enable
By default, the spanning tree feature is
enabled on all ports.
Enabling the spanning tree feature in PVST mode
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the spanning tree
feature.
stp global enable
•
If the device starts up with the initial
settings, the spanning tree feature is
disabled globally by default.
•
If the device starts up with the factory
defaults, the spanning tree feature is
enabled globally by default.
For more information about the startup
configuration, see Fundamentals
Configuration Guide.
3.
Enable the spanning tree
feature in VLANs.
stp vlan vlan-id-list
enable
The spanning tree feature is enabled for all
VLANs.
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module