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 be down and triggers spanning tree recalculation.
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 waste network resources. Set a long timeout interval on a stable network to avoid this.
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.