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 temporarily busy. In this case, recalculating the spanning tree will waste network resources. This can be avoided by increasing the timeout interval. However, only set a long timeout interval if the network is relatively stable.
The timeout interval is calculated as follows:
Timeout interval = Hello Time x 3 x Timer Factor
Procedure
- Run system-view
The system view is displayed.
- (Optional) Run stp process process-id
The MSTP process view is displayed.
Skip this step if you perform configurations in the MSTP process 0.
- 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.
- Run commit
The configuration is committed.