137
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
If the device starts up with the initial settings, the spanning tree feature is disabled globally.
If the device starts up with the factory defaults, the spanning tree feature is enabled globally.
For more information about the startup configuration, see
Fundamentals Configuration Guide
.
Views
System view
Predefined user roles
network-admin
Usage guidelines
When you enable the spanning tree feature, the device operates in STP, RSTP, PVST, 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
Usage guidelines
When a port on an MSTP, RSTP, or PVST device connects to an STP device and receives STP
BPDUs, the port automatically transits to the STP mode. However, the port cannot automatically
transit back to the original mode when the following conditions exist:
Содержание FlexNetwork 5130 HI series
Страница 293: ...285 Sysname GigabitEthernet1 0 1 lldp agent nearest customer tlv enable dot1 tlv link aggregation ...
Страница 302: ...294 ...