< Home

stp auto-shutdown recovery-time (AP wired port profile view)

Function

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.

Format

stp auto-shutdown recovery-time recovery-time

undo stp auto-shutdown recovery-time

Parameters

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.

Views

AP wired port profile view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the auto-recovery interval to 800s for an AP's wired interface on which the STP-triggered port shutdown function is enabled.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] wired-port-profile name wired
[HUAWEI-wlan-wired-port-wired] stp auto-shutdown recovery-time 800
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >