24-Port 10/100Mbps Layer 2 Switch w/ 4 Gigabit Ports and 2 Shared Mini-GBIC Slots
spanning-tree timers
Command
Syntax Description
Default Settings
Command Modes
User Guidelines
Example
Command History
spanning-tree auto-edge
Command
Default Settings
Command Modes
User Guidelines
Example
28-4
To set the timer of spanning tree.
spanning-tree
{forward-time
<seconds(1-2)> | max-age <seconds(6-40)>}
no spanning-tree { forward-time | hello-time | max-age }
forward-time
The time period that a port changes the STP state from
seconds(4-30)
blocking to forwarding.
hello-time
Time interval for a root bridge broadcasts the hello packets
seconds(1-2)
to other switches.
max-age
The maximum age for STP information learned from the
seconds(6-40)
network on any port before it is discarded
Forward-time
-
15 seconds
Hello-time
-
2 seconds
Max-age
-
20 seconds
Global Configuration Mode
1. The relationship between these timer must follow this formula:
2 x (Forward-time - 1) >= Max-age
Max-Age >= 2 x (Hello-time +1)
2. Using no form to reset the timer to default.
switch(config)# spanning-tree forward-time 10
Version
History
1.00.001
This command was introduced
To enable the auto-detection of a port.
spanning-tree auto-edge
no spanning-tree auto-edge
Enable
Interface Configuration Mode
Using no form to disable the auto-edge function.
switch(config-if)# spanning-tree auto-edge
<seconds(4-30)>
|
hello-time