< Home

Setting the MSTP Timeout Interval

Context

If a device does not receive any BPDUs from the upstream device within the timeout interval, the device considers the upstream device to have failed and recalculates the spanning tree.

Sometimes, a device cannot receive the BPDU from the upstream device within the timeout interval because the upstream device is busy. In this case, recalculating the spanning tree will cause a waste of network resources. To avoid wasting network resources, set a long timeout interval on a stable network.

If a device does not receive any BPDUs from the upstream device within the timeout interval, spanning tree recalculation is performed. The timeout interval is calculated as follows:

Timeout interval = Hello time x 3 x Timer Factor

Procedure

  1. Run system-view

    The system view is displayed.

  2. (Optional) Run stp process process-id

    The MSTP process view is displayed.

    Skip this step if you perform configurations in the MSTP process 0.

  3. Run stp timer-factor factor

    The timeout interval is set, specifying how long the upstream device waits for BPDUs.

    By default, the timeout interval is 9 times the Hello timer value.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >