The stp auto-shutdown enable command enables the STP-triggered port shutdown function on an AP's wired interface.
The undo stp auto-shutdown enable command disables the STP-triggered port shutdown function on an AP's wired interface.
By default, the STP-triggered port shutdown function is disabled on an AP's wired interface.
Usage Scenario
After the STP-triggered port shutdown function is enabled, the AP automatically shuts down the interface when STP detects a loop. The AP will periodically recover the interface and re-executes STP detection. If the loop still exists on the interface, the AP shuts down the interface again. If the loop is removed, the AP reports a clear alarm to the network management system (NMS).
Prerequisites
STP has been enabled on the AP's wired interface using the stp enable (AP wired port profile view) command.
Precautions
The AP wired interfaces added to an Eth-trunk do not support this function.
This function is supported only when a loop exists on the network connected to the AP's wired port, that is, a port receives STP packets sent by itself.
# Disable the STP-triggered port shutdown function on an AP's wired interface.
<HUAWEI> system-view [HUAWEI] wlan [HUAWEI-wlan-view] wired-port-profile name wired [HUAWEI-wlan-wired-port-wired] stp auto-shutdown enable Warning: The AP may become out of management after the STP-triggered port shutdown function is enabled (if the port is an uplink por t). Continue?[Y/N]:y