The stp auto-shutdown recovery-time command sets an auto-recovery interval for an AP's wired interface on which the STP-triggered port shutdown function is enabled.
The undo stp auto-shutdown recovery-time command restores the default auto-recovery interval for an AP's wired interface on which the STP-triggered port shutdown function is enabled.
By default, the auto-recovery interval is 600s.
Parameter |
Description |
Value |
---|---|---|
recovery-time |
Specifies the auto-recovery interval for an AP's wired interface on which the STP-triggered port shutdown function is enabled. |
The value is an integer that ranges from 600 to 3600, in seconds. |
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
The STP-triggered port shutdown function has been enabled on the AP's wired interface using the stp auto-shutdown enable (AP wired port profile view) command.
Precautions
The AP wired interfaces added to an Eth-trunk do not support this function.