STP configurations on S series switch

Common STP configuration for S series switches (except S1700 switches) and E series switches:
1. Enable STP/RSTP globally.
Run the stp enable command in the system view.
[HUAWEI] stp enable

2. Enable STP/RSTP on an interface.
Run the stp enable command in the interface view.
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] stp enable

3. Disable STP/RSTP globally.
Run the undo stp enable command in the system view.
[HUAWEI] undo stp enable

4. Disable STP/RSTP on the interface.
Run the undo stp enable command in the interface view.
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] undo stp enable

For details of other configuration commands, see "Common STP/RSTP Operations" in Series Switches Common Operation Guide.
Common STP/RSTP operations are the same for all switch models.

Scroll to top