Procedure
Run:
system-view
The system view is displayed.
Run:
stp enable
STP/RSTP is enabled on the switching device.
By default, STP/RSTP is enabled on a device. If you specify a VLANIF interface of a VLAN as the management network interface for an MSTP-enabled device, you can run the ethernet-loop-protection ignored-vlan command to specify this VLAN as an ignored VLAN. Then interfaces in the ignored VLAN will not enter the Blocking state and stay in the Forwarding state. Therefore, services will not be interrupted on these interfaces.