43
spanning-tree
forward-time
[seconds]
Global
configuration
mode
Use the
spanning-tree
forward-time global
configuration
command to set the
forwarding-time for
the specified
spanning-tree
instances. The
forwarding time
determines how
long each of the
listening and
learning states last
before the port
begins forwarding.
Use the no form of
this command to
return to the default
value.
15 sec.
Switch (config)#
spanning-tree
forward-time 20
stp-path-cost
[PortCost]
Interface
configuration
mode
Use the
spanning-tree cost
interface
configuration
command to set the
path cost for
Spanning Tree
Protocol (STP)
calculations. In the
event of a loop,
spanning tree
10 Mbps
100
100 Mbps
– 10
Switch (config)#
interface
fastEthernet 0/2
Switch (config-if)#
stp-path-cost 20