Specifies the time an interface spends in each of the listening and learning states.
15 seconds
Spanning tree configuration mode
This command specifies how long the listening and learning states last before the interface begins the forwarding of all spanning-tree instances.
STP interface states:
When you change the spanning-tree forward-delay time, it affects all spanning-tree instances. When configuring the forward-delay, the following relationship should be kept:
(2 × (forward-delay - 1)) >= max-age >= (2 × (hello-time + 1))
Enter no forward-delay to return to the default settings.
The command is the same regardless of which type of STP is enabled.
To configure the forward-delay time to 18 seconds:
device# configure terminal device(config)# protocol spanning-tree stp device(conf-stp)# forward-delay 18 device# configure terminal device(config)## protocol spanning-tree rstp device(conf-rstp)# forward-delay 18 device# configure terminal device(config)# protocol spanning-tree mstp device(conf-mstp)# forward-delay 18 device# configure terminal device(config)# protocol spanning-tree pvst device(conf-pvst)# forward-delay 18 device# configure terminal device(config)# protocol spanning-tree rpvst device(conf-rpvst)# forward-delay 18