Enabling STP/RSTP Globally
Run the stp enable command in the system view.
<HUAWEI> system-view [HUAWEI] stp enable
Enabling STP/RSTP on an Interface
Run the stp enable command in the interface view.
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] stp enable
More Information: S Series Switches Common Operation Guide