set protocols spanning-tree rstp forward-delay


The set protocols spanning-tree rstp forward-delay command sets the value of the RSTP forward delay interval of a switching device.


Command Syntax

set protocols spanning-tree rstp forward-delay <forward-delay>


Parameter

Parameter

Description

forward-delay <forward-delay>

Specifies the value of the Forward Delay. The value is an integer, in seconds, that ranges from 4 to 30. The default value 15s.


Usage Guidelines

On a network running a spanning tree algorithm, if the network topology is changed, it takes time to advertise new BPDU configuration messages on the network. During this period, interfaces to be blocked may not be blocked in time and interface ever blocked may not be blocked. As a result, a temporary loop may be formed. To prevent this problem, you can use the Forward Delay timer to set a delay time. During the delay time, all interfaces are blocked temporarily.

NOTE:

The relationships between the Hello Time, Forward Delay, and Max Age are as follows. The spanning tree functions properly only if the correct relationships are established. Otherwise, frequent network flapping occurs.

  •   2 * (Forward Delay - 1.0) ≥ Max Age
  •   Max Age ≥ 2 * (Hello Time + 1.0)


Example

  • Set the value of the RSTP forward delay interval of a switching device to 20s.
admin@Xorplus# set protocols spanning-tree rstp forward-delay 20
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.