
71
stp enable
Use
stp enable
to enable the spanning tree feature.
Use
undo stp enable
to disable the spanning tree feature.
Syntax
stp enable
undo stp enable
Default
The spanning tree feature is enabled on all ports and is globally disabled.
Views
System view, Ethernet interface view, port group view, Layer 2 aggregate interface view
Default command level
2: System level
Usage guidelines
The following matrix shows the command and hardware compatibility:
Hardware
Command compatibility in Layer 2
aggregate interface view
MSR800 Yes
MSR 900
No
MSR900-E Yes
MSR 930
Yes
MSR 20-1X
No
MSR 20
No
MSR 30
Yes
MSR 50
Yes
MSR 2600
Yes
MSR3600-51F Yes
Configured in system view, the setting takes effect globally.
Configured in Ethernet interface view, the setting takes effect only on the interface.
Configured in port group view, the setting takes effect on all member 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 the spanning tree feature, the device operates in STP, RSTP, or MSTP mode,
depending on the spanning tree mode setting.
When you enable the spanning tree feature, the device dynamically maintains the spanning tree
status of VLANs based on received configuration BPDUs.
When you disable the spanning tree feature, the device stops maintaining the spanning tree status.