stp global enable
Use stp global enable to enable the spanning tree feature globally.
Use undo stp global enable to disable the spanning tree feature globally.
Syntax
stp global enable
undo stp global enable
Default
The spanning tree feature is enabled globally.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
When you enable the spanning tree feature, the device operates in STP, RSTP, or MSTP mode,
depending on the spanning tree mode setting.
When the spanning tree feature is enabled, the device dynamically maintains the spanning tree
status of VLANs based on received configuration BPDUs. When the spanning tree feature is
disabled, the device stops maintaining the spanning tree status.
Examples
# Enable the spanning tree feature globally.
<Sysname> system-view
[Sysname] stp global enable
Related commands
stp enable
•
stp mode
•
stp global mcheck
Use stp global mcheck to perform the mCheck operation globally.
Syntax
stp global mcheck
Views
System view
Predefined user roles
network-admin
mdc-admin
68