You can also include one or more of the STP per-port parameters in this
command. See "Reconfiguring Per-Port STP Operation on the Switch" on page
9-107.
spanning-tree
Syntax:
priority <0 - 65355>
maximum-age <6 - 40 seconds>
hello-time <1 - 10 seconds>
forward-delay <4 - 30 seconds>
See table 9-10, above.
Default:
For example, to enable STP with a maximum-age of 30 seconds and a hello-
time of 3 seconds:
Reconfiguring Per-Port STP Operation on the Switch. This command
enables STP (if not already enabled) and configures the following per-port
parameters:
Table 9-11.Per-Port STP Parameters
Name
Default
path-cost Ethernet: 100
10
10/100Tx:
1
100 Fx:
0
Gigabit:
5
priority
128
mode
norm
You can also include STP general parameters in this command. See "Recon-
figuring General STP Operation on the Switch" on page 9-106.
spanning-tree ethernet <port-list>
Syntax:
path-cost <1 - 65535>
priority <0 - 255>
mode <norm | fast>
Default:
See table 9-11, above.
Range
Function
1 - 65535 Assigns an individual port cost that the switch uses
to determine which ports are the forwarding ports.
0 - 255
Used by STP to determine the port(s) to use for
forwarding. The port with the lowest number has
the highest priority.
norm
Specifies whether a port progresses through the
- or -
listening, learning, and forwarding (or blocking)
fast
states ("norm" mode) or transitions directly to the
forwarding state ("fast" mode).
(For information on when to use Fast mode, see
"STP Fast Mode" on page 9-109.)
Configuring Advanced Features
Spanning Tree Protocol (STP)
9-107