ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
38
| Spanning Tree Commands
– 1279
EXAMPLE
This example shows how to enable the Spanning Tree Algorithm for the
switch:
Console(config)#spanning-tree
Console(config)#
spanning-tree
forward-time
This command configures the spanning tree bridge forward time globally
for this switch. Use the no form to restore the default.
SYNTAX
spanning-tree forward-time seconds
no spanning-tree forward-time
seconds - Time in seconds. (Range: 4 - 30 seconds)
The minimum value is the higher of 4 or [(max-age / 2) + 1].
DEFAULT SETTING
15 seconds
COMMAND MODE
Global Configuration
COMMAND USAGE
This command sets the maximum time (in seconds) a port will wait before
changing states (i.e., discarding to learning to forwarding). This delay is
required because every device must receive information about topology
changes before it starts to forward frames. In addition, each port needs
time to listen for conflicting information that would make it return to the
discarding state; otherwise, temporary data loops might result.
EXAMPLE
Console(config)#spanning-tree forward-time 20
Console(config)#
spanning-tree
hello-time
This command configures the spanning tree bridge hello time globally for
this switch. Use the no form to restore the default.
SYNTAX
spanning-tree hello-time time
no spanning-tree hello-time
time - Time in seconds. (Range: 1-10 seconds).
The maximum value is the lower of 10 or [(max-age / 2) - 1].